LogLik {VanillaICE} | R Documentation

## Constructor for LogLik class

### Description

A container for the log likelihood of the Viterbi state path. Stores the log likelihood from succesive updates of model parameters. When the difference between the log likelihoods at iteration i and i-1 is below the tolerance, no additional updates are performed.

### Usage

    LogLik(loglik = numeric(), tolerance = 1L)

### Arguments

`loglik` | length-one numeric vector for the log likelihood of the Viterbi state path
`tolerance` | if the difference in the log-likelihood of the Viterbi state path after the Baum-Welch update is less than the specified tolerance, no additional Baum-Welch updates are required

### See Also

LogLik

[Package VanillaICE version 1.48.0 Index]