This help topic is for R version 1.5.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/na.action.html
na.action {base}R Documentation

NA Action

Description

na.action is a generic function, and na.action.default its default method.

Usage

na.action(object, ...)
na.action.default(object, ...)

Arguments

object

any object whose NA action is given.

...

further arguments special methods could require.

Value

The “NA action” which should be applied to object whenever NAs are not desired.

See Also

options("na.action"), na.omit, na.fail

Examples

na.action(c(1, NA))

[Package base version 1.5.0 ]