Learn R Programming

HiddenMarkov (version 1.8-13)

mmglm-2nd-level-functions: Markov Modulated Generalised Linear Model - 2nd Level Functions

Description

These functions will generally not be called directly by the user.

Usage

Estep.mmglm1(object, fortran=TRUE)
Mstep.mmglm1(object, u)

Arguments

object

an object with class "mmglm" or "mmglmlong"

u

a matrix of weights by Markov state and observation used in fitting the generalised linear model.

fortran

logical, if TRUE (default) use the Fortran code in the forward-backward equations, else use the R code.