updateProbMatX: Update Probability Matrix X (updateProbMatX)

Description Usage Arguments Value

Description

Update ProbMatX object with more data

Usage

1
updateProbMatX(prevData, dataO, dataH, groupSize, alphabetSizeO, alphabetSizeH)

Arguments

prevData

The ProbMatX object created from 'createProbMatX' function

dataO

the new observed data to be updated into the ProbMatX object

dataH

the new hidden data to be updated into the ProbMatX object

groupSize

The chosen group size for DMarkov. The groupSize must be the same as the one used when creating the ProbMatX object

alphabetSizeO

The original alphabet size of the observed data. The alphabetSize must be the same as the one used when creating the ProbMatX object

alphabetSizeH

The original alphabet size of the hidden data. The alphabetSize must be the same as the one used when creating the ProbMatX object

Value

A ProbMatX object. A list containing the updated transition, emission and reverse emission probabilities from the input data


jcpetkovich/rspatiotemp documentation built on May 18, 2019, 10:26 p.m.