Zeros: Finds zeros of a function within a specified domain

View source: R/Zeros.R

ZerosR 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 makeFun()

domain

specification of domain, as in slice_plot()

...

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)


mosaicCalc documentation built on Sept. 15, 2022, 9:06 a.m.