rstan_hessian: Compute hessian in unconstrained space

Description Usage Arguments Details Value

View source: R/rstan_hessian.R

Description

If udraws is a vector, the output is the Hessian computed at the point in parameter space corresponding to udraws

Usage

1
rstan_hessian(fit, udraws)

Arguments

fit

An rstan stanfit

udraws

Place(s) to compute Hessian(s) at

Details

If udraws is a matrix, each row is interpreted as a place to compute a Hessian and the output is a list of Hessians

Value

Hessian(s)


jtimonen/stanbreaker documentation built on Jan. 20, 2021, 12:34 a.m.