na.action {base} | R Documentation |
NA Action
Description
na.action
is a generic function, and na.action.default
its
default method.
Usage
na.action(x, ...)
na.action.default(x)
Arguments
x |
any object whose |
... |
further arguments special methods could assume. |
Value
The “NA action” which should be applied to x
whenever
NA
s are not desired.
See Also
options("na.action")
, na.omit
,
na.fail
Examples
na.action(c(1, NA))