fit-method-gradients | R Documentation |
Return the data frame containing the gradients for all parameters.
gradients()
A list of lists. See Examples.
CmdStanDiagnose
## Not run:
test <- cmdstanr_example("logistic", method = "diagnose")
# retrieve the gradients
test$gradients()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.