Skip to content
Prev 88256 / 398500 Next

tapply with unequal length of arguments

Hi everyone,

Is it possible to use tapply(x,y,mean) if not all groups of x by y are 
of the same length (for example if you have one missing observation)?

I tried tapply(x,y,mean,na.omit=T) but it doesn't work!

Steffi