getNGen.twDEMC: getNGen twDEMC

Description Usage Arguments Details Author(s) See Also Examples

Description

Extract the number of completed generations in res

Usage

1
2
## S3 method for class 'twDEMC'
getNGen(res, ...)

Arguments

res

object of class twDEMC

...

Details

the number of generations corresponds to the steps after time 0 (sample 1). Hence the sample of size 2 and thinning 1 describes one generation (one step forward). A sample of size 2 of thinning 5 encompasses times 0 and 5, i.e. 5 generations. see

Author(s)

Thomas Wutzler

See Also

iSample2time time2iSample getNPops.twDEMC getNSamples.twDEMC getNChains.twDEMC getNChainsPop.twDEMC getNParms.twDEMC subChains.twDEMC ,twDEMCBlockInt

Examples

1
2
3
4
5
6
7
8
9
data(twdemcEx1)
getNGen(twdemcEx1)
getNSamples(twdemcEx1)
twdemcEx1$thin
getNPops(twdemcEx1)
getNChains(twdemcEx1)
getNChainsPop(twdemcEx1)
getNParms(twdemcEx1)
getNBlocks(twdemcEx1)

twDEMC documentation built on May 2, 2019, 5:38 p.m.