View source: R/helpFunctions.R
findRoots | R Documentation |
A wrapper around nleqslv
from the nleqslv
package
to solve a non linear system of equations.
findRoots(beta.init, eq.func, d.eq.func = NULL, arg.list, ...)
beta.init |
An initial guess for the zero. |
eq.func |
A function of two variables for which the zero are sought. Its first
argument |
d.eq.func |
A function to return the Jacobian of |
arg.list |
The second argument to |
... |
A list of additional arguments to be passed to |
findRoots
calculates zeros fo the function eq.func
and is the default equation solving function in drgee
.
It is supplied as a separate function in order to allow users
to use other equation solvers by writing their own wrapper
with the same interface as findRoots
.
The value is a list containing the following arguments:
roots |
The zero(s) of the function |
optim.object |
The optimization object returned from |
Johan Zetterqvist, Arvid Sjolander
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.