expandFun | R Documentation |
Expands the contents of functions used in a formula.
expandFun(formula, ...)
formula |
A mathematical expression (see examples and |
... |
additional parameters |
A list with the new expanded formula and the combined formals
f=makeFun(x^2~x)
expandFun(f(z)~z) #Returns z^2~z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.