Description Usage Arguments Value
from_dummies
converts dummy variable columns to a categorical variable
column.
from_dummies_
is the standard evaluation version.
1 2 3 | from_dummies(.data, col, vars, .default = NA_character_)
from_dummies_(.data, col, vars, .default = NA_character_)
|
.data |
A |
col |
In |
vars |
A list of columns generated by |
.default |
The value to use for rows in which all variables
are |
A tbl
with the additional column col
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.