what_in | R Documentation |
Return the values of x
that are %in%
of the vector y
.
what_in(x, y, ignore.case = FALSE)
x |
A vector to check. |
y |
A vector to compare against. |
ignore.case |
logical; if |
x[which(x %in% y)]
The elements of x
that are %in%
y.
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_out()
what_in(c("VT", "DC", NA), state.abb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.