nasum Count the number of NA values in each element of a list-like object.

nasum(.df)

Arguments

.df

the count of NAs will be calculated for each column in this data set, with any grouping variables retained

Details

Arguments are passed to simplify, along with a function that sums instances of NA.

Author

Tim Waterhouse

Examples

nasum(Theoph)
#> # A tibble: 0 × 2
#> # ℹ 2 variables: name <chr>, n_NA <int>