| fct_wrap | R Documentation | 
Wrap factor levels into nicely formatted paragraphs
fct_wrap(f, ...)
f | 
 A factor variable with long levels  | 
... | 
 Arguments passed on to 'stringr::str_wrap()'  | 
A factor variable with re-wrapped levels
var <- factor(c("a very, very, very, very long factor level",
                "an even longer, unbelievably longer, factor level"))
fct_wrap(var, width = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.