varmap_to_vars(varmap, vars) returns the values of vars given in
varmap, evaluating expressions of other entries.
Usage
varmap_to_vars(varmap, vars, defaults = NULL)
Arguments
- varmap
A variable map (list of formulas, pairs, or named list).
- vars
A list of variables.
- defaults
Further values used when varmap lacks an entry.
Value
A named numeric vector.