uniroot_int: Find root of univariate function of integers

View source: R/uniroot_int.R

uniroot_intR Documentation

Find root of univariate function of integers

Description

Uses a bisectioning algorithm to search the give interval for a change of sign and returns the integer which is closest to 0.

Usage

uniroot_int(
  f,
  interval,
  ...,
  f.lower = f(interval[1], ...),
  f.upper = f(interval[2], ...),
  maxIter = 1000
)

RBesT documentation built on May 29, 2024, 10:40 a.m.