Hi folks,

I'm dealing with a dataset with a lot of NAs, and want to use subset on the
data without removing the NAs from the the dataframe; e.g.

rws50 <- subset(rw.fire.RW,shigo.av<50)

This removes instances with NA for the value in addition to anything <50.
Any suggestions much appreciated.

*Ben Caldwell*

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to