nmiss | R Documentation |
Amount of missing data per variable
nmiss(dat)
dat |
Data frame that you want to inspect. |
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(mtcars)
mtcars[c(2:3), 4] <- NA #create NAs
nmiss(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.