HiddenMarkov-internal {HiddenMarkov} | R Documentation |
This page lists internally used functions. They should not be required by most users.
## S3 method for class 'mmpp': residuals(object, ...) as.dthmm(object) as.mmglm(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 = FALSE)
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 "mmglm"
to an object with class "dthmm"
. Similarly, the function as.mmglm
coerces an object with class "dthmm"
to an object with class "mmglm"
(if possible).
The functions dglm
and pglm
calculate the density and probability, respectively, for an observation given a generalised linear model.