Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

window.mcmc

Time windows for mcmc objects


Description

window.mcmc is a method for mcmc objects which is normally called by the generic function window

In addition to the generic parameters, start and end the additional parameter thin may be used to thin out the Markov chain. Setting thin=k selects every kth iteration starting with the first. Note that the value of thin is absolute not relative. The value supplied given to the parameter thin must be a multiple of thin(x).

Values of start, end and thin which are inconsistent with x are ignored, but a warning message is issued.

Usage

## S3 method for class 'mcmc'
window(x, start, end, thin, ...)

Arguments

x

an mcmc object

start

the first iteration of interest

end

the last iteration of interest

thin

the required interval between successive samples

...

futher arguments for future methods

See Also


coda

Output Analysis and Diagnostics for MCMC

v0.19-4
GPL (>= 2)
Authors
Martyn Plummer [aut, cre, trl], Nicky Best [aut], Kate Cowles [aut], Karen Vines [aut], Deepayan Sarkar [aut], Douglas Bates [aut], Russell Almond [aut], Arni Magnusson [aut]
Initial release
2020-09-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.