has_NA.RdIdentifies rows in a matrix or data frame that contain any (or all) NA values.
has_NA(x, any = TRUE)A matrix or data frame.
Logical; if TRUE check
if any observation in the row is a NA
value, else checks if all observations are
NA.
A logical vector with values of
TRUE for rows with any NA
values (or rows where all values are NA
when any = FALSE).