mcmcPlots: mcmcPlots

Description Usage Arguments Examples

View source: R/mcmcPlots.R

Description

Plots 4 MCMC diagnostics for a parameter

Usage

1
mcmcPlots(logfile, parameters = NULL, ...)

Arguments

logfile

Either an object of class "bt_post", or the name of the logfile of the analysis of interest.

parameters

A vector of names of parameters to show diagnostic plots for. If NULL (default) then all parameters are used (depending on the analysis some of these may be nonsensical).

...

Additional arguments passed to loadPosterior

Examples

1
2
3
paramDiagnostic("cool-data.log", "Lh")
params <- getParams("cool-data.log")
paramDiagnostic("cool-data.log", params, type = "trace", cols = 3)

hferg/BTprocessR documentation built on March 8, 2020, 11:45 a.m.