Create an object for running hierarchical MCMC simulations.

Description

Create an object for running hierarchical MCMC simulations.

Usage

1
BatchModel(data = numeric(), k = 2L, batch, hypp, mcmc.params)

Arguments

data

the data for the simulation.

k

An integer value specifying the number of latent classes.

batch

a vector of the different batch numbers (must be sorted)

hypp

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

mcmc.params

An object of class 'McmcParams'

Value

An object of class 'BatchModel'

Examples

1
     model <- BatchModel(rnorm(10), k=1, batch=rep(1:2, each=5))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.