viterbi.msm {msm} | R Documentation |
For a fitted multi state model with misclassification, the Viterbi algorithm recursively constructs the path through the underlying stages with the highest probability.
viterbi.msm(x)
x |
A fitted multi-state model with misclassification, as
produced by msm |
A data frame with columns:
subject
= subject identification numbers
time
= times of observations
observed
= corresponding observed states
fitted
= corresponding fitted states found by Viterbi
recursion.
C. H. Jackson chris.jackson@imperial.ac.uk
Durbin, R., Eddy, S., Krogh, A. and Mitchison, G. Biological sequence analysis, Cambridge University Press, 1998.