powered by
Amount of missing data per variable
nmiss(dat)
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.
Data frame that you want to inspect.
data(mtcars) mtcars[c(2:3), 4] <- NA #create NAs nmiss(mtcars)
Run the code above in your browser using DataLab