TrioBatchModel: Constructor for TrioBatchModel

Description Usage Arguments Value

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

1
2
3
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'


CNPBayes documentation built on May 6, 2019, 4:06 a.m.