Learn R Programming

ggdmc (version 0.2.5.2)

GetTheta0: Extract Start Posterior Sample

Description

Extract the theta's of the first MCMC iteration across chains and participants. Note that the ps array in DMC is a nchain x nsubject x nparameter array. Armadillo operates on slice (the third dimension), so chain dimension has to be on slice.

Usage

GetTheta0(samples)

Arguments

samples

posterior samples

Value

a nsubject x npar x nchain array