plot.bayescomm {BayesComm} | R Documentation |
Plot bayescomm parameter chains
Description
plot.bayescomm
creates summary plots of a subset of the parameter chains in a bayescomm
object using the coda
package.
Usage
## S3 method for class 'bayescomm'
plot(x, chain, ...)
Arguments
x |
a |
chain |
a character string of the parameter chains to plot |
... |
further arguments to pass to |
Details
chain
should be one of 'R'
(for correlation coefficients) or 'B$sp'
where sp
is the species of interest (for regression coefficients).
See Also
Examples
m1 <- example(BC)[[1]]
plot(m1, 'R')
plot(m1, 'B$sp1')
[Package BayesComm version 0.1-2 Index]