count_na | R Documentation |
Count the total values of x
that are NA
.
count_na(x)
x |
A vector to check. |
sum(is.na(x))
The sum of x
that are NA
Other counting wrappers:
count_diff()
,
count_in()
,
count_out()
,
na_in()
,
na_out()
,
na_rep()
,
prop_distinct()
,
prop_in()
,
prop_na()
,
prop_out()
,
what_in()
,
what_out()
count_na(c("VT", "NH", NA, "ME"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.