vdummy | R Documentation |
Transform a factor variable to a matrix of dummy variables
vdummy(x)
x |
a factor vector |
a matrix of dummy variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.