Skip to content
Prev 32054 / 398506 Next

how to include 'NA's in xtabs?

Thanks for your reply, but i dont want to transform my data
with 'factor' or anything else. I really need 'NA's as NA's
and i dont need them as levels of factor.

I just seeking possibility to compute count of 'NA's with
'xtabs' without transforming my data. Maybe 'na.action' argument
in 'xtabs' may help? But i dont know how to use it.

Any suggestions?
Sundar Dorai-Raj wrote: