gibbsGMM: Fit a mixture of Gaussians to the observed data.

Description Usage Arguments Value

View source: R/mcmcPotts.R

Description

Fit a mixture of Gaussians to the observed data.

Usage

1
gibbsGMM(y, niter = 1000, nburn = 500, priors = NULL)

Arguments

y

A vector of observed pixel data.

niter

The number of iterations of the algorithm to perform.

nburn

The number of iterations to discard as burn-in.

priors

A list of priors for the parameters of the model.

Value

A matrix containing MCMC samples for the parameters of the mixture model.


bayesImageS documentation built on April 11, 2021, 5:06 p.m.