Return the data frame containing the gradients for all parameters.
gradients()
A list of lists. See Examples.
# \dontrun{ test <- cmdstanr_example("logistic", method = "diagnose") # retrieve the gradients test$gradients()#> param_idx value model finite_diff error #> 1 0 0.3291950 4.51253 4.51253 -3.28079e-08 #> 2 1 -0.0351071 -14.28740 -14.28740 3.60592e-09 #> 3 2 1.7559700 -31.76980 -31.76980 -3.22111e-08 #> 4 3 1.7963400 -12.81930 -12.81930 -2.77577e-08# }