Description Usage Arguments Value Examples
Do any of lvls
occur in f
? Compared to %in%, this function validates
lvls
to ensure that they're actually present in f
. In other words,
x %in% "not present"
will return FALSE
, but fct_match(x, "not present")
will throw an error.
1 |
f |
A factor (or character vector). |
lvls |
A character vector specifying levels to look for. |
A logical vector
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.