Return the data frame containing the gradients for all parameters.

gradients()

Value

A list of lists. See Examples.

See also

Examples

if (FALSE) { # \dontrun{
test <- cmdstanr_example("logistic", method = "diagnose")

# retrieve the gradients
test$gradients()
} # }