plotChain | R Documentation |
Function to plot a MCMC chain from simulated data
plotChain(
df,
var,
col = "black",
lwd = 0.7,
title = "",
x = "N simulations",
y = "x"
)
df |
the data frame with the simulation outcomes |
var |
A string with the name of the variable to plot |
col |
color of the line to plot |
lwd |
line width for the plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.