Learn R Programming

depmixS4 (version 1.0-2)

response-class: 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. The constr slot is used for information on constraints that are inherently part of a model; the only such constraints which are currently used are 1) the sum constraint in multinomial models with identity link, and 2) a lower bound of zero of sd parameters in gaussian distributions. Such constraints are only used in fitting models with general optimization routines such as Rsolnp; the EM algorithm automagically respects the sum constraint. [object Object],[object Object],[object Object],[object Object],[object Object]