Learn R Programming

CNPBayes (version 1.2.2)

tracePlot: Create a trace plot of a parameter estimated by MCMC.

Description

Create a trace plot of a parameter estimated by MCMC.

Usage

tracePlot(object, name, ...)
"tracePlot"(object, name, ...)

Arguments

object
see showMethods(tracePlot)
name
the name of the parameter for which to plot values. Can be 'theta', 'sigma', 'p', 'mu', or 'tau'.
...
Other argument to pass to plot.

Value

A traceplot of a parameter value

Examples

Run this code
tracePlot(BatchModelExample, "theta")
tracePlot(BatchModelExample, "sigma")

Run the code above in your browser using DataLab