plotChain: Function to plot a MCMC chain from simulated data

View source: R/plotChain.R

plotChainR Documentation

Function to plot a MCMC chain from simulated data

Description

Function to plot a MCMC chain from simulated data

Usage

plotChain(
  df,
  var,
  col = "black",
  lwd = 0.7,
  title = "",
  x = "N simulations",
  y = "x"
)

Arguments

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


jpablo91/Pabloverse documentation built on April 11, 2024, 2:54 p.m.