na.delete {Hmisc} | R Documentation |
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)
.
na.delete(frame)
frame |
a model frame |
a model frame with rows deleted and the "na.action"
attribute added.
Frank Harrell
Department of Biostatistics
Vanderbilt University
f.harrell@vanderbilt.edu
na.omit
, na.keep
, na.detail.response
, model.frame.default
,
naresid
, naprint
# options(na.action="na.delete") # ols(y ~ x)