Learn R Programming

tileHMM (version 1.0-7)

initializeHMM-methods: Generate Objects of Class 'hmm'

Description

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

Usage

"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.

Methods

.Object = "contHMM"
Creates an object of class contHMM

Details

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

See Also

contHMM, discDist, contDist