subexpr {PKPDmodels}R Documentation

"Sub[stitute] expr[ession]"

Description

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

Usage

  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


[Package PKPDmodels version 0.3.2 Index]