na.delete | 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
fh@fharrell.com
na.omit
, na.keep
, na.detail.response
, model.frame.default
,
naresid
, naprint
# options(na.action="na.delete")
# ols(y ~ x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.