powered by
getViterbi(hmm, obs=list(), NAtol=5, emissionProbs=list(), verbose=FALSE, sizeFactors=matrix(1, nrow=length(obs), ncol=ncol(obs[[1]])))
numeric
logical
data(example) hmm_ex = initHMM(observations, nStates=3, method="Gaussian") hmm_fitted = fitHMM(observations, hmm_ex) viterbi = getViterbi(hmm_fitted, observations)
Run the code above in your browser using DataLab