Keys (modalities) of a wave or filter variable
Usage
keys_vars(df, vars, var_key, level = "all", sep = " / ")
Arguments
- df
data.frame
- vars
variables of each level (see vars_levels)
- var_key
name of the variable containing the complete key
- level
1 (first level only), 2 (complete key) or "all" (both)
- sep
separator between the levels
Examples
keys_vars(mtcars,"cyl","cyl")
#> [1] "4" "6" "8"