Description Usage Arguments Author(s) Examples
Creates trace and density plots for Stan or JAGS model objects, with R-hat and Neff displayed.
1 | stan_trace(fit, par.name, number, same.scale = FALSE, n.per.page = 6)
|
fit |
Stan model object. |
par.name |
Name of the parameter of interest in quotes. |
number |
A numeric vector giving the index for what values of the parameter to display. This can be also be a list for specifying paramaters in a matrix. See Details. |
same.scale |
Display the density plots on the same x-axis scale, across parameters. Defaults to false. |
n.per.page |
Number of parameters to display per page. Defaults to 6. |
Michael J. Dodrill, mdodrill@usgs.gov
1 | Need to add examples.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.