Learn R Programming

glmBfp (version 0.0-60)

cppOptimize: Interface to the internal C++ optimization routine "optimize"

Description

Interface to the internal C++ optimization routine "optimize"

Usage

cppOptimize(f_, min.x, max.x, prec = .Machine$double.eps^0.25)

Arguments

f_

the function

min.x

minimum bound on x

max.x

maximum bound on x

prec

precision (same default as for the original optimize function)

Value

A list with the following elements:

par

the minimum abscissa found by the algorithm

inv.hessian

the inverse Hessian at par

evaluations

list of the function evaluation pairs: args and vals