transitionMatrix {uHMM} | R Documentation |
Transition matrix estimation
Description
This function estimates the transition matrix of a (Hidden) Markov Model from a vector of state sequencing.
Usage
transitionMatrix(states)
Arguments
states |
a numeric vector of state sequencing. |
Value
Estimated transition matrix.
See Also
Examples
states<-c(1,1,3,2,1,2,1,3)
A<-transitionMatrix(states)
A
[Package uHMM version 1.0 Index]