Description Usage Arguments Value Examples
Reorder levels: place a chosen factor level as first
1 | placeLevel1st(in.dt, in.col, in.s)
|
in.dt |
Input data.table |
in.col |
String with the column name that contains factors to change |
in.s |
String with the factor to place as first |
Reorders factors in a column within a dt
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.