change_fac_lev | R Documentation |
Change factor levels
change_fac_lev(x, levels = NULL, last = FALSE)
x |
vector |
levels |
custom levels |
last |
put the custom levels to the last |
factor
change_fac_lev(letters[1:5], levels = c("c", "a"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.