Displaying 1 result from an estimated 1 matches for "trivila".
Did you mean:
trivial
2004 Dec 06
3
removing NA as a level
Dear R-helpers,
I have a problem which I suppose is trivila, but...
I have included NA values as factors ( (to be able to make nice printed summaries with NAs % ba category ) with the following code
dat$x.f<-factor(dat$x, exclude=NULL); levels(dat$x.f)<-c("A1","A2","A3","A4","NA"); length(dat$x.f)
No...