Re: [Rd] hasNA() / anyNA()?

From: Benjamin Tyner <btyner_at_gmail.com>
Date: Tue, 14 Aug 2007 07:48:25 -0400


Why not

hasNA <- function(x) !is.na(match(NA, x))

-Ben



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 14 Aug 2007 - 12:07:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 14 Aug 2007 - 14:38:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.