| na.rm {na.tools} | R Documentation |
na.rm
Description
Removes NA values from objects
Usage
na.rm(object, ...)
Arguments
object |
to remove |
... |
further arguments special methods could require. |
Details
For vectors this is the same as stats::na.omit() or
stats::na.exclude(). It will also work on recursive objects.
This is predominantly maintained for syntactic convenience since a number of functions have na.omir
Value
An object of the same class with all NA values removed. For
data.frame and data.table objects entire columns are removed if they
contain solely NA values.
See Also
[Package na.tools version 0.3.1 Index]