LogLik: Get stateNames of a (bd)HMM

Description Usage Arguments Value Examples

View source: R/AllClasses.R

Description

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

Usage

1
LogLik(hmm)

Arguments

hmm

An object of class HMM or bdHMM.

Value

Log likelihood during model fitting.

Examples

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

STAN documentation built on Nov. 8, 2020, 11:11 p.m.