Description Usage Arguments Value Author(s) See Also Examples
Analogous to the function factor
, unfactor
will convert a factor to a character or integer
1 |
x |
The vector of factors you wish to replace |
levels |
A numeric vector of the values that will replace the factors |
labels |
A character vector of the values to be replaced |
numeric |
Should the labels be returned (i.e., characters)? Or the numbers? |
A numeric or character vector
Dustin Fife
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.