[R] Still can't find missing data

Dieter Menne dieter.menne at menne-biomed.de
Wed May 27 11:51:37 CEST 2009


Farley, Robert <FarleyR <at> metro.net> writes:

> 
> What is wrong?  I've looked into the na commands and the ?xtabs entry, but I
haven't found anything that works.
> 

I never understood the logic that exclude=NULL needs na.action in addition.

test <- c(1,2,3,1,2,3,NA,NA,1,2,3) 
xtabs(~test,exclude=NULL,na.action=na.pass)

Dieter




More information about the R-help mailing list