substitute_q {teal.modules.clinical}R Documentation

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)

Arguments

qexpr

(language)
a quoted expression.

env

(environment or list)
requested variable substitutions.

Value

The modified expression.

Note

This is simplified from the package pryr to avoid another dependency.

See Also

substitute_names()


[Package teal.modules.clinical version 0.10.0 Index]