Learn R Programming

ldhmm (version 0.6.1)

ldhmm.decoding: Computing the minus log-likelihood (MLLK)

Description

This utility computes the state probabilities, uses local and global decoding to calculate the states. The results are saved to the returned ldhmm object.

Usage

ldhmm.decoding(object, x, do.global = TRUE, do.stats = TRUE)

Value

an ldhmm object containing results of decoding

Arguments

object

an ldhmm object

x

numeric, the observations.

do.global

logical, if TRUE (default), perform Viterbi decoding.

do.stats

logical, if TRUE (default), calculate stats.

Author

Stephen H. Lihn