Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-hessian

Numerical evaluation of the hessian of a function using numDeriv::hessian


Description

We perform a quick check about the expected runtime and adjust the precision accordingly.

Usage

.hessian(f, x, seconds.warning = 60, default.r = 6, min.r = 2, ...)

Arguments

f

function to compute Hessian for

x

location to evaluate Hessian at

seconds.warning

time threshold in seconds to trigger message and reduce the number of iterations for Richardson extrapolation of numDeriv::hessian

default.r

default number of iterations (high-precicion recommendation of numDeriv)

min.r

minial number of iteration, must be at least 2,

...

further arguments passed to method.args of numDeriv::hessian


flexsurv

Flexible Parametric Survival and Multi-State Models

v2.0
GPL (>= 2)
Authors
Christopher Jackson [aut, cre], Paul Metcalfe [ctb], Jordan Amdahl [ctb], Matthew T. Warkentin [ctb], Kevin Kunzmann [ctb]
Initial release
2021-02-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.