Skip to content
Prev 238741 / 398500 Next

efficient test for missing values (NAs)

A small test indicates that the following may be the fastest method
(although all are pretty fast)

has.na <- !all(complete.cases(x))

Thanks Jim and Phil for your suggestions.
/Ali
On Wed, Oct 20, 2010 at 19:03, Jim Holtman <jholtman at gmail.com> wrote: