Displaying 1 result from an estimated 1 matches for "msg22459".
Did you mean:
msg02259
2004 Jun 27
2
subset drop unused levels
hi there
tried to use subset with drop=TRUE, but all the 'old' levels are preserved,
i.e. when calling e.g. ftable a lot of zeros are displayed
>x<-subset(LREG, (kir=='AA' | kir=='BB') & (type=='t1' | otype=='t2'),
drop=TRUE, select=c(event, kir, type))
> ftable(x)
i explicit have to call factor like