Learn R Programming

BayesComm (version 0.1-2)

plot.bayescomm: 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

"plot"(x, chain, ...)

Arguments

x
a bayescomm object
chain
a character string of the parameter chains to plot
...
further arguments to pass to plot.mcmc

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

BC, plot.mcmc

Examples

Run this code
m1 <- example(BC)[[1]]
plot(m1, 'R')
plot(m1, 'B$sp1')

Run the code above in your browser using DataLab