Learn R Programming

teal.modules.clinical (version 0.9.0)

substitute_q: Substitute in Quoted Expressions

Description

This version of substitute is needed because substitute() does not evaluate it's first argument, and it's often useful to be able to modify a quoted expression.

Usage

substitute_q(qexpr, env)

Value

The modified expression.

Arguments

qexpr

(language)
a quoted expression.

env

(environment or list)
requested variable substitutions.

See Also

substitute_names()