window.bayescomm: Window bayescomm objects

Description Usage Arguments Details Value See Also Examples

Description

window.bayescomm is window function for bayescomm objects, it calls window.mcmc from the coda package. Parameter chains are subsetted by start and end and thinned by thin.

Usage

1
2
## S3 method for class 'bayescomm'
window(x, start = NULL, end = NULL, thin = 1, ...)

Arguments

x

a bayescomm object

start

start iteration

end

end iteration

thin

thinning interval

...

further arguments to pass to window.mcmc

Details

If start = NULL (default) the start is taken as the first iteration. If end = NULL (default) the end is taken as the final iteration. If thin = 1 (default) all iterations within the window are retained.

Value

A bayescomm object with windowed parameter chains.

See Also

BC, window.mcmc

Examples

1
2
m1 <- example(BC)[[1]]
m2 <- window(m1, 51, 150, 10) 

BayesComm documentation built on May 2, 2019, 1:43 p.m.