fit-method-gradients: Extract gradients after diagnostic mode

fit-method-gradientsR Documentation

Extract gradients after diagnostic mode

Description

Return the data frame containing the gradients for all parameters.

Usage

gradients()

Value

A list of lists. See Examples.

See Also

CmdStanDiagnose

Examples

## Not run: 
test <- cmdstanr_example("logistic", method = "diagnose")

# retrieve the gradients
test$gradients()

## End(Not run)


stan-dev/cmdstanr documentation built on May 1, 2024, 7:17 a.m.