Description Usage Arguments Value
View source: R/to_case_when_block.R
Build case_when block for a mutate()
1 | to_case_when_block(uniqvals, varname)
|
uniqvals |
unique values of varname |
varname |
variable name for the LHS of the case_when block |
prints R code to the console that can be copy and pasted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.