fct_discard | R Documentation |
This discards the observations as well as the levels specified from a factor.
fct_discard(x, discard)
x |
( |
discard |
( |
A modified factor
with observations as well as levels from discard
dropped.
fct_discard(factor(c("a", "b", "c")), "c")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.