to_case_when_block: Build case_when block for a mutate()

Description Usage Arguments Value

View source: R/to_case_when_block.R

Description

Build case_when block for a mutate()

Usage

1
to_case_when_block(uniqvals, varname)

Arguments

uniqvals

unique values of varname

varname

variable name for the LHS of the case_when block

Value

prints R code to the console that can be copy and pasted


KiraFitzge/Dismic documentation built on Dec. 18, 2021, 3:35 a.m.