Description Usage Arguments Details Value Author(s) Examples
Transform category data to integers 0..levels(data)-1. The the numeric variable can be then used in acoarm models.
1 |
data |
data is a dataframe composed of categorical variables. |
The function transforms a categorical variable to integers.
A data frame of transformed values. For each column, each category is transformed to an integer, from 0 to levels(data[,column])-1.
James Y. Dai
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.