ldhmm.decoding {ldhmm}R Documentation

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)

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.

Value

an ldhmm object containing results of decoding

Author(s)

Stephen H. Lihn


[Package ldhmm version 0.6.1 Index]