Learn R Programming

mosaic (version 0.3-13)

.createMathFun: Internal function for handling formula-based expressions

Description

.createMathFun processes an expression and assignments to produce a function and other information used by D, antiD, and plotFun

Usage

.createMathFun(sexpr = NULL, ...)

Arguments

sexpr
a formula containing a mathematical expression. The left-hand side has the expression, the right side contains the variables
...
additional assignments giving default values to symbolic parameters.

Details

.createMathFun underlies user functions such as makeFun, plotFun, and D. It returns a structure that contains a function as well as information about the function needed for plotting, etc.