emissionMatrix {uHMM} | R Documentation |
Emission matrix estimation
Description
This function estimates the emission matrix of a Hidden Markov Model from vectors of state and symbol sequencing.
Usage
emissionMatrix(states, symbols)
Arguments
states |
a numeric vector of state sequencing. |
symbols |
a numeric vector of symbol sequencing. |
Value
Estimated emission matrix.
See Also
Examples
states<-c(1,1,3,2,1,2,1,3)
symbols<-c(4,1,3,1,4,4,4,2)
B<-emissionMatrix(states,symbols)
B
[Package uHMM version 1.0 Index]