initMix: Initial Parameters

Description Usage Arguments Details Value

View source: R/MVNSeq.r

Description

Initial parameter estimates for HMM and mixture models.

Usage

1
2
3
initMix(y, cl, K = max(cl))

initHMM(y, cl, K = max(cl))

Arguments

y

the sequence of observations

cl

an integer vector allocating observations to classes

K

the number of classes

Details

Given a sequence of observations and a vector of initial class allocations, estimate the parameters for a mixture or hidden Markov model.

Value

parsMixClass returns a list with elements


SWotherspoon/MVNSeq documentation built on May 10, 2017, 12:22 p.m.