make_dummy | R Documentation |
Construct a dummy-coded matrix for a single variable
make_dummy(x)
x |
A numeric or character vector to convert to a dummy matrix |
A binary indicator matrix of ones and zeros
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.