Learn R Programming

fHMM (version 1.1.1)

fHMM_sdds: Define state-dependent distributions

Description

This helper function defines state-dependent distributions for the {fHMM} package.

Usage

fHMM_sdds(sdds)

# S3 method for fHMM_sdds print(x, ...)

Value

A list of length length(sdds). Each element again is a list, containing

  • the "name" of the distribution

  • and a list "pars" of its parameters, where unknown parameters are set to NULL.

Arguments

sdds

A character (vector) of length two that can be specified for "sdds" in set_controls.

...

Currently not used.

Examples

Run this code
if (FALSE) {
sdds <- c("t(sigma = 0.1, df = Inf)", "gamma", "lnorm(mu = 1)")
fHMM_sdds(sdds)
}

Run the code above in your browser using DataLab