viterbi_algo: Implementation of the Viterbi algorithm

View source: R/viterbi_algo.R

viterbi_algoR Documentation

Implementation of the Viterbi algorithm

Description

Implementation of the Viterbi algorithm

Usage

viterbi_algo(emisPr, transPr, initPr)

Arguments

emisPr

a matrix of emission probabilities for the considering series.

transPr

a matrix of state transition probabilities.

initPr

a vector specifying initial state probabilities.

Value

path

the most likely path (state sequence).


julieaubert/CHMM documentation built on Sept. 17, 2022, 5:14 p.m.