plotMcmcTrace: Plot the MCMC trace

View source: R/Plots.R

plotMcmcTraceR Documentation

Plot the MCMC trace

Description

Plot the MCMC trace

Usage

plotMcmcTrace(mcmcNull, fileName = NULL)

Arguments

mcmcNull

An object of type mcmcNull as generated using the fitMcmcNull function.

fileName

Name of the file where the plot should be saved, for example 'plot.png'. See the function ggsave in the ggplot2 package for supported file formats.

Details

Plot the trace of the MCMC for diagnostics purposes.

Examples

## Not run: 
data(sccs)
negatives <- sccs[sccs$groundTruth == 0, ]
null <- fitMcmcNull(negatives$logRr, negatives$seLogRr)
plotMcmcTrace(null)

## End(Not run)

EmpiricalCalibration documentation built on Sept. 30, 2024, 9:12 a.m.