dummy_code | R Documentation |
Dummy code a data.frame
dummy_code(x, sep = "_", factor_names = TRUE)
x |
a data.frame |
sep |
character for separating dummy code factors and their levels when constructing names |
factor_names |
whether to include factor names when creating new names for dummy codes |
A dummy-coded version of x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.