| what_out {k5} | R Documentation |
Which out
Description
Return the values of x that are %out% of the vector y.
Usage
what_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
x[which(x %out% y)]
Value
The elements of x that are %out% y.
See Also
Other counting wrappers:
count_diff(),
count_in(),
count_na(),
count_out(),
na_in(),
na_out(),
na_rep(),
prop_distinct(),
prop_in(),
prop_na(),
prop_out(),
what_in()
Examples
what_out(c("VT", "DC", NA), state.abb)
[Package k5 version 0.2.1 Index]