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 May 30, 2017, 2:49 a.m.

Search within the bayesImageS package
Search all R packages, documentation and source code