case_when function
case_when_vars
completes case_when evaluation and returns a new variable
Source: R/case_when_vars.R
case_when_vars.Rd
case_when function
case_when_vars
completes case_when evaluation and returns a new variable
Arguments
- raw
a raw data object
- scoresheet
a properly formatted scoresheet object. Key columns that must have data for a case_when function are new_var and code. Code should be formatted in accordance with dplyr case_when input. See case_when