Description Usage Arguments Value Examples
how_many_nas
finds the number of missing values in the columns of a
data frame. You can also have it return the percentage of missing values
instead of the raw totals.
1 | how_many_nas(x, p = F)
|
x |
a data frame to examine |
p |
a logical flag indicating if the results should be in percentages.
Defaults to |
a named vector with the column names as the names and the number or percentage of missing values as the values
1 2 3 | set.seed(12345)
how_many_nas(mtcars)
how_many_nas(iris, p = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.