Generate Objects of Class 'hmm'

Share:

Description

Objects of class contHMM are created by calling new("contHMM", transition, emission, init).

Usage

1
2
## S4 method for signature 'contHMM'
new(Class, transition, emission, init = NULL)

Arguments

Class

A character string specifying the class of the object to be created. In this case "contHMM".

transition

A list with one object of class discDist for each state of the model. These are used as transition probabilities.

emission

A list with one object of class contDist for each state of the model. These are used as emission distributions.

init

An object of class discDist or NULL. This is used as the initial state distribution.

Details

The length of all arguments (except Class) has to be equal. If init is NULL a uniform initial state distribution is used.

Methods

.Object = "contHMM"

Creates an object of class contHMM

Author(s)

Peter Humburg

See Also

contHMM, discDist, contDist

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.