Zeros {mosaicCalc} | R Documentation |
Finds zeros of a function within a specified domain
Description
Finds zeros of a function within a specified domain
Usage
Zeros(tilde, domain = NULL, ..., nsegs = 131)
Arguments
tilde |
tilde expression defining a function, suitable
for |
domain |
specification of domain, as in |
... |
Assignments to parameters |
nsegs |
Subdivide the domain into this many segments, looking for a zero in each of those segments. This helps to find multiple zeros. |
Value
A data frame with two columns. The first has the name
of the input in the tilde expression, and gives the values
for that input at which the function is approximately zero.
The second column, .output.
gives
the actual value of the function at the inputs in the first column.
Examples
Zeros(a*x + b ~ x, a=1, b=2)
[Package mosaicCalc version 0.6.4 Index]