as.mcmc.multNRMI {BNPdensity}R Documentation

Convert the output of multMixNRMI into a coda mcmc object

Description

Convert the output of multMixNRMI into a coda mcmc object

Usage

## S3 method for class 'multNRMI'
as.mcmc(x, ..., thinning_to = 1000, ncores = parallel::detectCores())

Arguments

x

Output of multMixNRMI.

...

Further arguments to be passed to specific methods

thinning_to

Final length of the chain after thinning.

ncores

Specify the number of cores to use in the conversion

Value

a coda::mcmc object

Examples

data(acidity)
out <- multMixNRMI1(acidity, parallel = TRUE, Nit = 10, ncores = 2)
coda::as.mcmc(out, ncores = 2)

[Package BNPdensity version 2023.3.8 Index]