Skip to contents

Turn a character vector into a list of expressions

Usage

chr2vars(chr)

Arguments

chr

A character vector

Value

A list of expressions as returned by exprs()

See also

Utilities for working with quosures/list of expressions: negate_vars()

Examples

chr2vars(c("USUBJID", "AVAL"))
#> [[1]]
#> USUBJID
#> 
#> [[2]]
#> AVAL
#>