View source: R/c212.plot.samples.R
| c212.plot.samples | R Documentation | 
This function plots a graph of the sampled posterior distribution.
	c212.plot.samples(samples, title)
samples | 
 An array of samples indexed by chain.  | 
title | 
 The graph title.  | 
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.
Nothing is returned.
R. Carragher
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.