dummify | R Documentation |
Create dummy variables within a tibble
dummify(dat, sel)
dat |
A |
sel |
A character vector with the name(s) of the variables to be dummied. |
tibble with dummy variables
mytest=data.frame(A=factor(c('a','a','b','c','c')), B=1:5)
dummify(mytest,"A")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.