View source: R/listwise_delete.R
listwise_delete | R Documentation |
Remove cases with missing values.
listwise_delete(obj, vars)
## S3 method for class 'data.frame'
listwise_delete(obj, vars = names(obj))
## S3 method for class 'lm'
listwise_delete(obj, vars = all.vars(formula(obj)))
obj |
The |
vars |
The variables to consider. |
For data.frame
s, the vars
are checked for missing values. If one is found on any of
the variables, the entire row is removed (list-wise deletion). For linear models, the model is
refit after the underlying data have been processed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.