response-class {depmixS4}R Documentation

Class "response"

Description

A generic response model for depmix models.

Arguments

object An object of class "response".

Details

This class offers a framework from which to build specific response models such as glm based responses or multinomial responses. For extensibility, objects with class response should have at least methods: dens to return the dens'ity of responses, and getpars and setpars methods to get and set parameters.

Slots

parameters:
A (named) list of parameters.
fixed:
A logical vector indicating which parameters are fixed.
y:
A matrix with the actual response; possibly multivariate.
x:
A design matrix; possibly only an intercept term.
npar:
The number of parameters.

Accessor Functions

The following functions should be used for accessing the corresponding slots:

npar:
The number of parameters of the model.
getdf:
The number of non-fixed parameters.

Author(s)

Ingmar Visser & Maarten Speekenbrink


[Package depmixS4 version 0.2-1 Index]