expandFun: Expand the left-hand side of a formula

Description Usage Arguments Value Examples

View source: R/expandFun.R

Description

Expands the contents of functions used in a formula.

Usage

1

Arguments

formula

A mathematical expression (see examples and plotFun)

...

additional parameters

Value

A list with the new expanded formula and the combined formals

Examples

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

mosaic documentation built on May 30, 2017, 2:49 a.m.

Search within the mosaic package
Search all R packages, documentation and source code