Utility function for converting character or integer vectors to factor
1 | factor.relabel(x, labels, ordered = FALSE)
|
x |
Character or integer. Vector to convert to factor |
labels |
Character. Factor labels |
ordered |
Boolean. Create ordered factor? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.