Learn R Programming

HiddenMarkov (version 1.8-13)

HiddenMarkov-internal: Internally Used Functions

Description

This page lists internally used functions. They should not be required by most users.

Usage

as.dthmm(object)
as.mmglm0(object)

makedensity(distn) makedensity1(distn) makedistn(distn)

getj(x, j)

dglm(x, x1, beta0, beta1, sigma, family, link, size = NA, log = FALSE) pglm(q, x1, beta0, beta1, sigma, family, link, size = NA, log.p = FALSE) dmmglm(x, beta, sigma, glmfamily, Xdesign, size=NA, log=FALSE) pmmglm(x, beta, sigma, glmfamily, Xdesign, size=NA, log.p=FALSE)

mmglm(...)

Arguments

Details

The function makedensity is used to reparameterise various R probability (or density) functions (e.g. dnorm and dpois) into a format with a standard argument list. Similarly, makedistn reparameterises a distribution function.

The function getj is used to extract the \(j\)th element from each vector component in a list object.

The function as.dthmm coerces an object with class "mmglm0" to an object with class "dthmm". Similarly, the function as.mmglm0 coerces an object with class "dthmm" to an object with class "mmglm0" (if possible).

The functions dglm and pglm calculate the density and probability, respectively, for an observation given a generalised linear model.

The functions dmmglm and pmmglm calculate the density and probability, respectively, for an observation given a generalised linear model.