num_na | R Documentation |
counts number of na values of a variable in a df
num_na(df, var)
df |
data frame or its extension |
var |
unquoted column/variable name to count number of NA values |
a number of how many na values there contain in the input var
num_na(mtcars, mpg) num_na(mtcars, cyl) num_na(mtcars, disp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.