Skip to contents

Turn a character vector into a list of quosures

Usage

chr2vars(chr)

Arguments

chr

A character vector

Value

A list of quosures as returned by vars()

See also

Other utils_quo: negate_vars()

Author

Stefan Bundfuss

Examples

chr2vars(c("USUBJID", "AVAL"))
#> <list_of<quosure>>
#> 
#> [[1]]
#> <quosure>
#> expr: ^USUBJID
#> env:  0x55d0512cd178
#> 
#> [[2]]
#> <quosure>
#> expr: ^AVAL
#> env:  0x55d0512cd178
#>