This function is a wrapper around stringr::str_wrap that ensures that factor levels are not dropped.

str_wrap_factor(x, ...)

Arguments

x

a factor

...

arguments to pass to stringr::str_wrap

Value

a factor