getNGen twDEMCPops

Share:

Description

Extract the number of completed generations in res

Usage

1
2
## S3 method for class 'twDEMCPops'
getNGen(x, ...)

Arguments

x

object of class twDEMCPops

...

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.twDEMCPops getNSamples.twDEMCPops getNSamplesSpace.twDEMCPops getNChains.twDEMCPops getNChainsPop.twDEMCPops getNParms.twDEMCPops getNSpaces.twDEMCPops getSpacesPop.twDEMCPops subset.twDEMCPops ,twDEMCBlockInt

Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.