employs complete.cases
which is fast
internal C code. Returns a data frame with unused factor levels dropped
(these may have been introduced by dropping rows with some NA values)
drop_rows_with_na(x, fld = names(x), verbose = FALSE)dropRowsWithNAField(x, fld = names(x), verbose = FALSE)
data frame
vector with names of fields which must have no NA values
single logical value, if TRUE
then produce verbose
messages
data frame without rows containing NA in the specified data fields. There may be NA values in the resulting data frame in fields which are not listed in fld.
dropRowsWithNAField
: Deprecated, use drop_rows_with_na