nmiss {MLMusingR} | R Documentation |
Amount of missing data per variable
Description
Amount of missing data per variable
Usage
nmiss(dat)
Arguments
dat |
Data frame that you want to inspect. |
Value
By default, this function will print the following items to the console
The percent of missing data per variable.
The percent of complete cases (range: 0 to 1).
Suggested number of datasets to impute when using multiple imputation.
Examples
data(mtcars)
mtcars[c(2:3), 4] <- NA #create NAs
nmiss(mtcars)
[Package MLMusingR version 0.3.2 Index]