Skip to content
Prev 24537 / 398502 Next

Counting NA?

On Wed, Oct 23, 2002 at 02:48:20AM -0400, Matej Cepl wrote:
Try:

sum(is.na(data$2))



Hopin' it helps,


L.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._