Learn R Programming

mdir (version 0.9.0)

plotLikelihoods: Plot likelihoods

Description

Plots the model fit for multiple chains.

Usage

plotLikelihoods(mcmc_outputs, colour_by_chain = TRUE)

Value

A ggplot2 object. Line plot of likelihood across iteration.

Arguments

mcmc_outputs

The output from ``runMCMCChains``.

colour_by_chain

Logical indcating if plots should be coloured by chain or all the same colour. Defaults to ``TRUE``.