model.ll: Get HMM Log Likelihood

Description Usage Arguments Value See Also

Description

Get the log likelihood of an HMM object and check if it is feasible (i.e., contains no illegal emissions). Auxiliary function used in partition.bic.

Usage

1
model.ll(hmm)

Arguments

hmm

An hmm object (see build_hmm).

Value

The log likelihood of the hmm object, print warning if model is infeasible (i.e., if the log likelihood is evaluated for a sequence that contains emissions that are assigned probability 0 in the hmm object).

See Also

Used in partition.bic.


DBHC documentation built on May 2, 2019, 10:35 a.m.