add_dummy | R Documentation |
Add dummies to the dataset
add_dummy(X, names, ...)
X |
A df/tibble. |
names |
A list of characters indicating names for the dummies. |
... |
Logical expressions. |
A df/tibble with additional columns with 1s if conds
is TRUE
and 0s otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.