Description Usage Arguments Value
refactor_by_idx
changes x
to a factor, and specifies level
order based the 1:1 pairing of levs
and idx
1 | refactor_by_idx(x, levs, idx)
|
x |
A vector that will be converted to a factor based with level order
specified by |
levs |
The levels contained in |
idx |
The order in which |
A factor with levels ordered according to levs
:idx
pairing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.