concatPops.twDEMCPops: concatPops twDEMCPops

Description Usage Arguments Details Value Author(s) See Also

Description

Concatenates all the chains of all subpopulations to array across all chains as class twDEMC.

Usage

1
2
3
## S3 method for class 'twDEMCPops'
concatPops(x,
 ..., isUsingThinning = TRUE, minPopLength = NULL)

Arguments

x

the twDEMCPops object to transform

...

not used

isUsingThinning

if TRUE (defaul) thinning is used to make populations the same length (the minimum across populations' length), if FALSE they are cut to shortest population

minPopLength

integer scalar: if specified, populations with less samples than length.out are dropped from the results

Details

In the twDEMCPops object x, the information on results is scattered in a list of populations (result component pop described in link{twDEMCBlockInt}). This function makes all chains the same length, and combines the populations by appending all the chains in a big array. All other entry besides pops is retained from the original twDEMCPops object x.

Value

An object of class twDEMC (see subChains.twDEMC)

Author(s)

Thomas Wutzler

See Also

subset.twDEMCPops ,subChains.twDEMC ,twDEMCBlockInt


twDEMC documentation built on May 31, 2017, 3:44 a.m.

Search within the twDEMC package
Search all R packages, documentation and source code