hessian: Compute Hessian matrix

View source: R/hessian.R

hessianR Documentation

Compute Hessian matrix

Description

Compute Hessian matrix

Usage

hessian(mod, numerical = FALSE)

Arguments

mod

an object of class bbdml

numerical

Boolean. Defaults to FALSE. Indicator of whether to use the numeric Hessian (not recommended).

Value

Hessian matrix

Examples

data(soil_phylum_small)
mod <- bbdml(formula = OTU.1 ~ DayAmdmt,
phi.formula = ~ DayAmdmt,
data = soil_phylum_small)
hessian(mod)


corncob documentation built on Aug. 31, 2023, 9:06 a.m.