Description Usage Arguments Details Value See Also Examples

Find a single root of a function of one variable within a specified interval.

1 |

`fn` |
A real function of a single variable. |

`gr` |
A function that computes the gradient of |

`x0` |
An initial guess for the value of the root of |

`offset` |
An inverse tolerance for the root. When a new estimate of the root |

`maxiter` |
A limit on the number of function evaluations permitted in the attempt to find a root. |

`trace` |
If TRUE, provided diagnostic output of the process of rootfinding. |

`...` |
Extra data needed to compute the function |

To be added.

The output is a list consisting of return(list(root=b, froot=NA, rtol=wtol, maxit=maxit)) ## Acceptable approx. is found */

`root` |
The estimate, b, of the position of the root. |

`froot` |
The value of the function at this point, f(b). |

`rtol` |
The width of the interval in which the root exists. |

`fcount` |
The number of function evaluations used. |

1 | ```
# examples are in rootoned-package.Rd
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.