concatPops twDEMCPops

Share:

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

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