dummy_vec | R Documentation |
transforming a categorical variable into dummy variables
dummy_vec(x)
x |
An integer vector or can be converted into an integer vector. |
A matrix.
dummy_vec(c(1,1,3,2,4,6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.