Learn R Programming

BNPdensity (version 2023.3.8)

convert_to_mcmc: Convert the output of multMixNRMI into a coda mcmc object

Description

Convert the output of multMixNRMI into a coda mcmc object

Usage

convert_to_mcmc(fitlist, thinning_to = 1000, ncores = parallel::detectCores())

Value

a coda::mcmc object

Arguments

fitlist

Output of multMixNRMI.

thinning_to

Final length of the chain after thinning.

ncores

Specify the number of cores to use in the conversion