subexpr: "Sub[stitute] expr[ession]"

Description Usage Arguments Value Note

View source: R/PKPDmodels.R

Description

Substitute the expression sub for the name nm in expr by walking the tree.

Usage

1
  subexpr(expr, nm, sub)

Arguments

expr

an expression

nm

a name for which to substitute

sub

the expression to substitute for name nm

Value

the expression with all occurrences of nm replaced by sub

Note

this function is called recursively


PKPDmodels documentation built on May 1, 2019, 7:59 p.m.