plot_autocor | R Documentation |
Create an autocorrelation plot for a particular parameter
plot_autocor(
model,
post_regex,
lag_max = 20,
y_lim = c(-1, 1),
bar_width = 0.5,
fill = main_fill,
alpha = 0.3,
...
)
model |
A model list, created by |
post_regex |
A regular expression that matches one parameter name and nothing else |
lag_max |
See |
y_lim |
A vector of start and end limits for the y-axis |
bar_width |
The width of the bars |
fill |
The fill color for the bars |
alpha |
The transparency for the bar fill |
... |
Absorbs arguments intended for other functions |
A ggplot2::ggplot()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.