View source: R/spotTransform.R
int2fact | R Documentation |
This function re-codes a factor with pre-specified factor levels, using an integer encoding as input.
int2fact(x, lvls)
x |
an integer vector (that represents factor vector) to be transformed |
lvls |
the original factor levels used |
the same factor, now coded with the original levels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.