5.27.2014

One Dimensional Root (Zero) Finding - Function : uniroot

Function : uniroot - One Dimensional Root (Zero) Finding

Description

    The function uniroot searches the interval from lower to upper for a root (i.e., zero) of the function f with respect to its first argument. Setting extendInt to a non-"no" string, means searching for the correct interval = c(lower,upper) if sign(f(x)) does not satisfy the requirements at the interval end points; see the ‘Details’ section.

Usage

    uniroot(f, interval, ...,
            lower = min(interval), upper = max(interval),
            f.lower = f(lower, ...), f.upper = f(upper, ...),
            extendInt = c("no", "yes", "downX", "upX"), check.conv = FALSE,
            tol = .Machine$double.eps^0.25, maxiter = 1000, trace = 0)