MarginalModel: Create an object for running marginal MCMC simulations.

Description Usage Arguments Value Examples

View source: R/methods-MarginalModel.R

Description

Create an object for running marginal MCMC simulations.

Usage

1
MarginalModel(data = numeric(), k = 2, hypp, mcmc.params)

Arguments

data

the data for the simulation.

k

An integer value specifying the number of latent classes.

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 'MarginalModel'

Examples

1
     model <- MarginalModel(data=rnorm(10), k=1)

CNPBayes documentation built on May 31, 2017, 2:57 p.m.