summary.chain: Basic summary of a chain object.

Description Usage Arguments Value Author(s)

Description

Finds mean, sd, and the q-th quantiles of the chain, optionally discarding a portion of the beginning of the chain. Each element in the list of chain states should be a matrix with variables to be summarized in columns. If there are multiple individual chains in the rows they will be all contribute to the summary statistics.

Usage

1
2
3
  ## S3 method for class 'chain'
 summary(object, discard = 0.1,
    q = c(0.025, 0.975), ...)

Arguments

object

object to be summarized.

discard

If >=1, remove that many elements from start of chain before summarizing. If <1.0, removes that fraction from the chain. Default is 10%.

q

quantiles to find.

...

unused.

chain

list of states to be summarized.

Value

matrix of summary statistics.

Author(s)

Grady Weyenberg


grady/evol-mc documentation built on May 17, 2019, 8:01 a.m.