c212.plot.samples: Plot Posterior Distribution

View source: R/c212.plot.samples.R

c212.plot.samplesR Documentation

Plot Posterior Distribution

Description

This function plots a graph of the sampled posterior distribution.

Usage

	c212.plot.samples(samples, title)

Arguments

samples

An array of samples indexed by chain.

title

The graph title.

Details

Two graphs are displayed on the same panel. The left graph is the traceplot of the chains. The right graph is a plot of the distribution.

Value

Nothing is returned.

Author(s)

R. Carragher

Examples

## Not run: 
data(c212.trial.data)
raw = c212.1a(c212.trial.data)
sample = raw$theta[,2,2,]
c212.plot.samples(sample, sprintf("%s: %s %s", "theta", raw$B[2], raw$AE[2]))

## End(Not run)

c212 documentation built on April 3, 2025, 10:29 p.m.

Related to c212.plot.samples in c212...