Remove cases with missing values.
listwise_delete(obj, vars)# S3 method for data.frame
listwise_delete(obj, vars = names(obj))
# S3 method for lm
listwise_delete(obj, vars = all.vars(formula(obj)))
The data.frame
or lm
object to process.
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.