FindZero: Find interval containing zero of a function, then find the...

Description Usage Arguments Details

View source: R/utils.R

Description

Same function as in NPRHonest

Usage

1
FindZero(f, ival = 1.1, negative = TRUE)

Arguments

f

function whose root we're looking for

ival

upper endpoint of initial interval in which to search

negative

logical: should the lower endpoint be 1/ival (if the root is guaranteed to be positive), or -ival?

Details

Given function f find x0 such that f(x0)==0


kolesarm/RDHonest documentation built on April 3, 2018, 11:08 a.m.