fct_c | R Documentation |
This is a useful way of patching together factors from multiple sources that really should have the same levels but don't.
fct_c(...)
... |
< |
fa <- factor("a") fb <- factor("b") fab <- factor(c("a", "b")) c(fa, fb, fab) fct_c(fa, fb, fab) # You can also pass a list of factors with !!! fs <- list(fa, fb, fab) fct_c(!!!fs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.