Number of observations

n_obs(x, ...)

Arguments

x

Input variable

...

Additional arguments

Value

number of observations

Examples

n_obs(c("a", "b", NA))
#> [1] 3