Description Usage Arguments Value See Also Examples
This function returns the parameters of emission functions of a (bd)HMM object.
1 | EmissionParams(hmm)
|
hmm |
An object of class (bd)HMM. |
A list containing the parameters of the Emission functions.
1 2 3 4 5 6 7 | nStates = 5
means = list(4,11,4,11,-1)
Sigma = lapply(list(4,4,4,4,4), as.matrix)
transMat = matrix(1/nStates, nrow=nStates, ncol=nStates)
initProb = rep(1/nStates, nStates)
hmm = HMM(initProb=initProb, transMat=transMat, emission=HMMEmission(type='Gaussian', parameters=list(mu=means, cov=Sigma), nStates=length(means)), nStates=nStates, status='initial')
EmissionParams(hmm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.