Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

expandFun

Expand the left-hand side of a formula


Description

Expands the contents of functions used in a formula.

Usage

expandFun(formula, ...)

Arguments

formula

A mathematical expression (see examples and plotFun())

...

additional parameters

Value

A list with the new expanded formula and the combined formals

Examples

f=makeFun(x^2~x)
expandFun(f(z)~z) #Returns z^2~z

mosaic

Project MOSAIC Statistics and Mathematics Teaching Utilities

v1.8.3
GPL (>= 2)
Authors
Randall Pruim [aut, cre], Daniel T. Kaplan [aut], Nicholas J. Horton [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.