LogLik {STAN} | R Documentation

## Get stateNames of a (bd)HMM

### Description

This function returns the Log-Likelihood of a (bd)HMM.

### Usage

    LogLik(hmm)

### Arguments

`hmm` | An object of class HMM or bdHMM.

### Value

Log likelihood during model fitting.

### Examples

    data(example)
    hmm_ex = initHMM(observations, nStates=3, method="Gaussian")
    hmm_fitted = fitHMM(observations, hmm_ex)
    LogLik(hmm_fitted)

[Package STAN version 2.22.0 Index]