Learn R Programming

STAN (version 2.0.3)

LogLik: 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

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

Run the code above in your browser using DataLab