Learn R Programming

dirichletprocess (version 0.4.2)

Fit.markov: Fit a Hidden Markov Dirichlet Process Model

Description

Fit a Hidden Markov Dirichlet Process Model

Usage

# S3 method for markov
Fit(dpObj, its, updatePrior = F, progressBar = F)

Value

A Dirichlet Process object with the fitted cluster parameters and states.

Arguments

dpObj

Initialised Dirichlet Process object

its

Number of iterations to use

updatePrior

Logical flag, defaults to FAlSE. Set whether the parameters of the base measure are updated.

progressBar

Logical flag indicating whether to display a progress bar.