TrioBatchModel {CNPBayes}R Documentation

Constructor for TrioBatchModel

Description

Initializes a TrioBatchModel, a container for storing data, parameters, and MCMC output for mixture models with batch- and component-specific means and variances.

Usage

TrioBatchModel(triodata = tibble(), hp = HyperparametersTrios(),
  mp = McmcParams(iter = 1000, thin = 10, burnin = 1000, nStarts = 4),
  mprob = mprob, maplabel = maplabel)

Arguments

triodata

the data for the simulation.

hp

An object of class 'Hyperparameters' used to specify the hyperparameters of the model.

mp

An object of class 'McmcParams'

batches

an integer-vector of the different batches

Value

An object of class 'TrioBatchModel'


[Package CNPBayes version 1.13.5 Index]