Description Usage Arguments Value Functions
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)
1 2 3 | drop_rows_with_na(x, fld = names(x), verbose = FALSE)
dropRowsWithNAField(x, fld = names(x), verbose = FALSE)
|
x |
data frame |
fld |
vector with names of fields which must have no NA values |
verbose |
single logical value, if |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.