setup_root_control {geex}R Documentation

Setup a root_control object

Description

Setup a root_control object

Usage

setup_root_control(FUN, roots_name, ...)

Arguments

FUN

a function

roots_name

a character string identifying the object containing the

...

arguments passed to FUN

Value

a root_control object

Examples

# Setup the default
setup_root_control(start = c(3, 5, 6))

# Also setup the default
setup_root_control(FUN = rootSolve::multiroot,
                   start = c(3, 5, 6))

# Or use uniroot()
setup_root_control(FUN = stats::uniroot,
                   interval = c(0, 1))

[Package geex version 1.1.1 Index]