naprint(x, ...) naprint.default(...) naprint.exclude(...) naprint.omit(x)
na.action function such as
na.exclude. Typically
this will be a component of a model object for which an
na.action was
specified.
Calls to this function should be added to the
print and
print.summary
methods for modeling functions using an
na.action. Note that the use
of an
na.action attribute (as described in the
naresid help file) was
predated by the use of an
na.message attribute. Hence it is prudent to
check for both of these attributes.
# Code from print.lm
if(!is.null(attr(x, "na.message")))
cat(attr(x, "na.message"), "\n")
else if(!is.null(x$na.action))
cat(naprint(x$na.action), "\n")