Trace plot for McMC analysis. Optionally add a target parameter value (i.e. for use with simulated data). See the ggplot2 documentation for further appearance modification options.

PlotParameterTrace(mcmcResults, parameter = 1, targetParameters = NULL)

Arguments

mcmcResults

McMC results object.

parameter

index of model parameter to be plotted.

targetParameters

vector containing the target values of the model parameters, if known.

Examples

# NOT RUN {
PlotParameterTrace(mcmcResults, 1)
PlotParameterTrace(mcmcResults, 2, targetValue)
# }