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