Description Usage Arguments Value Examples
dummyCode will create a dummy coded set of variables
1 |
x |
input data |
convertNA |
TRUE/FALSE: Should NA be converted to a unique level |
A data.frame with dummy coded variables
1 2 | #x <- sample(c(1,2,3,4,5), 20, replace = T)
#dummyCode(x = x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.