c212.plot.samples {c212}R 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)

[Package c212 version 0.98 Index]