Learn R Programming

BayesComm (version 0.1-2)

summary.bayescomm: Summarise bayescomm parameter chains

Description

summary.bayescomm creates summaries of a subset of the parameter chains in a bayescomm object using the coda package.

Usage

"summary"(object, chain, ...)

Arguments

object
a bayescomm object
chain
a character string of the parameter chains to plot
...
further arguments to pass to summary.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, summary.mcmc

Examples

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

Run the code above in your browser using DataLab