plot.map2stan | R Documentation |
Shows trace plots for Stan samples produced by a map2stan
fit, annotated by number of effective samples. Automatic paging and adjustable number of columns and rows per page.
plot( object , pars , col=rethink_palette , alpha=1 , bg=gray(0.7,0.5) , ask=TRUE , window , n_cols=3 , max_rows=5 , ... )
object |
map2stan model fit |
pars |
Character vector of parameters to display |
col |
Vector of colors to use for chains. Recycled. |
alpha |
alpha transparency of chains |
bg |
Background fill for warmup samples |
ask |
Whether to pause for paging. Default is |
window |
Range of samples to display. Default is all samples. |
n_cols |
Number of columns per page |
max_rows |
Maximum number of rows per page |
... |
Additional arguments to pass to plot commands |
This is the default trace plot method for map2stan
model fits.
Richard McElreath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.