Rdocumentation
powered by
Learn R Programming
PKPDmodels (version 0.3.2)
subexpr: "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