count_out {campfin} | R Documentation |
Count out
Description
Count the total values of x
that are are %out%
of the vector y
.
Usage
count_out(x, y, na.rm = TRUE, ignore.case = FALSE)
Arguments
x |
A vector to check. |
y |
A vector to compare against. |
na.rm |
logical; Should |
ignore.case |
logical; if |
Details
sum(x %out% y)
Value
The sum of x
absent in y
.
See Also
Other counting wrappers:
count_diff()
,
count_in()
,
count_na()
,
na_in()
,
na_out()
,
na_rep()
,
prop_distinct()
,
prop_in()
,
prop_na()
,
prop_out()
,
what_in()
,
what_out()
Examples
count_out(c("VT", "NH", "ZZ", "ME"), state.abb)
[Package campfin version 1.0.11 Index]