SCM

SCM Repository

[depmix] Annotation of /tags/release-0.2-0/man/response-class.Rd
ViewVC logotype

Annotation of /tags/release-0.2-0/man/response-class.Rd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 209 - (view) (download) (as text)
Original Path: pkg/man/response-class.Rd

1 : ingmarviss 42 \name{response-class}
2 : ingmarviss 82
3 : ingmarviss 42 \docType{class}
4 : ingmarviss 82
5 : ingmarviss 42 \alias{response-class}
6 : ingmarviss 82
7 : ingmarviss 42 \title{Class "response"}
8 : ingmarviss 82
9 : ingmarviss 90 \description{
10 : ingmarviss 82
11 : ingmarviss 90 A generic \code{\link{response}} model for \code{\link{depmix}} models.
12 :    
13 : ingmarviss 85 }
14 :    
15 : ingmarviss 42 \arguments{
16 :     \item{object}{An object of class "response".}
17 :     }
18 : ingmarviss 82
19 : ingmarviss 42 \section{Slots}{
20 : ingmarviss 90
21 : ingmarviss 42 \describe{
22 :     \item{\code{parameters}:}{A (named) list of parameters.}
23 : ingmarviss 90
24 : ingmarviss 42 \item{\code{fixed}:}{A logical vector indicating which parameters
25 :     are fixed.}
26 : ingmarviss 90
27 : ingmarviss 42 \item{\code{y}:}{A matrix with the actual response; possibly
28 :     multivariate.}
29 : ingmarviss 90
30 : ingmarviss 82 \item{\code{x}:}{A design matrix; possibly only an intercept term.}
31 : ingmarviss 90
32 : ingmarviss 42 \item{\code{npar}:}{The number of parameters.}
33 :     }
34 :    
35 :     }
36 : ingmarviss 82
37 : ingmarviss 51 \details{
38 : ingmarviss 90
39 : ingmarviss 51 This class offers a framework from which to build specific response
40 : ingmarviss 90 models such as glm based responses or multinomial responses. For
41 :     extensibility, objects with class \code{response} should have at least
42 :     methods: \code{dens} to return the \code{dens}'ity of responses, and
43 :     \code{getpars} and \code{setpars} methods to get and set parameters.
44 :    
45 : ingmarviss 51 }
46 : ingmarviss 82
47 : ingmarviss 42 \section{Accessor Functions}{
48 : ingmarviss 51 The following functions should be used for accessing the corresponding
49 :     slots:
50 :     \describe{
51 :     \item{\code{npar}:}{The number of parameters of the model.}
52 :     \item{\code{getdf}:}{The number of non-fixed parameters.}
53 :     }
54 : ingmarviss 42 }
55 : ingmarviss 82
56 : maarten 209 \author{Ingmar Visser & Maarten Speekenbrink}
57 : ingmarviss 82
58 : ingmarviss 42 \keyword{classes}

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge