Hmisc (version 4.5-0)

na.delete: Row-wise Deletion na.action

Description

Does row-wise deletion as na.omit, but adds frequency of missing values for each predictor to the "na.action" attribute of the returned model frame. Optionally stores further details if options(na.detail.response=TRUE).

Usage

na.delete(frame)

Arguments

frame

a model frame

Value

a model frame with rows deleted and the "na.action" attribute added.

See Also

na.omit, na.keep, na.detail.response, model.frame.default, naresid, naprint

Examples

# NOT RUN {
# options(na.action="na.delete")
# ols(y ~ x)
# }