Returns a ggplot object based histogram which represnts the marginal density of a posterior obtained by McMC.

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

Arguments

mcmcResults

data (the results of an McMC analysis).

parameter

index of model parameter to be plotted.

targetParameters

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

Examples

# NOT RUN {
PlotParameterMarginal(mcmcResults, 1)
PlotParameterMarginal(mcmcResults, 2, targetTheta)
# }