na.rm is similar to na.omit but allows to specify a list of
variables to take into account.
Usage
na.rm(x, v = NULL)
Arguments
x
a data frame
v
a list of variables
Author
Joseph Larmarange <joseph@larmarange.net>
Details
If v is not specified, the result of na.rm will be the same as
na.omit. If a list of variables is specified through v, only
observations with a missing value (NA) for one of the specified
variables will be removed from x. See examples.