Free Access Week - Data Engineering + BI
Data engineering and BI courses are free!
Free Access Week - Jun 2-8

rwty (version 1.0.3)

makeplot.param: Plotting parameters

Description

Plots parameter values over the length of the MCMC chain

Usage

makeplot.param(
  chains,
  burnin = 0,
  parameter = "LnL",
  facet = TRUE,
  free_y = FALSE
)

Value

param.plot Returns a ggplot object.

Arguments

chains

A set of rwty.chain objects.

burnin

The number of trees to omit as burnin.

parameter

The column name of the parameter to plot.

facet

Boolean denoting whether to make a facet plot.

free_y

TRUE/FALSE to turn free y scales on the facetted plots on or off (default FALSE). Only works if facet = TRUE.

Examples

Run this code
if (FALSE) {
data(fungus)
makeplot.param(fungus, burnin=20, parameter="pi.A.")
}

Run the code above in your browser using DataLab