setup_root_control: Setup a root_control object

View source: R/classes.R

setup_root_controlR 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))

geex documentation built on Aug. 8, 2022, 5:05 p.m.