HiddenMarkov-internal: Internally Used Functions

Description Usage Details

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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(...)

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


HiddenMarkov documentation built on April 27, 2021, 5:06 p.m.