gibbsmix {copre}R Documentation

Marginal Gibbs-type Mixture Model Sampler

Description

A function that samples marginal mixture densities via a marginal Gibbs sampler.

Usage

gibbsmix(data, k, b_msr, s_msr, burn = 1000, thin = 150)

Arguments

data

The data from which to sample predictive distributions.

k

The number of predictive samples to draw.

b_msr

A base_measure object.

s_msr

A seq_measure object.

burn

The number of initial sampling iterations to discard, will be truncated if a non-integer.

thin

The number of sampling iterations to discard between records, will be truncated if a non-integer.

Value

A seqre_result object.

See Also

seqre(), seq_measure(), base_measure()


[Package copre version 0.2.1 Index]