Standard methods for estimated models

Share:

Description

coef, vcov, fixef, ranef, fitted and residuals methods for estimated hlme, lcmm, mutlcmm and Jointlcmm models.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
## S3 method for class 'hlme'
coef(object,...)
## S3 method for class 'lcmm'
coef(object,...)
## S3 method for class 'Jointlcmm'
coef(object,...)
## S3 method for class 'multlcmm'
coef(object,...)

## S3 method for class 'hlme'
vcov(object,...)
## S3 method for class 'lcmm'
vcov(object,...)
## S3 method for class 'Jointlcmm'
vcov(object,...)
## S3 method for class 'multlcmm'
vcov(object,...)

## S3 method for class 'hlme'
fixef(object,...)
## S3 method for class 'lcmm'
fixef(object,...)
## S3 method for class 'Jointlcmm'
fixef(object,...)
## S3 method for class 'multlcmm'
fixef(object,...)

## S3 method for class 'hlme'
ranef(object,...)
## S3 method for class 'lcmm'
ranef(object,...)
## S3 method for class 'Jointlcmm'
ranef(object,...)
## S3 method for class 'multlcmm'
ranef(object,...)

## S3 method for class 'hlme'
fitted(object,...)
## S3 method for class 'lcmm'
fitted(object,...)
## S3 method for class 'Jointlcmm'
fitted(object,...)
## S3 method for class 'multlcmm'
fitted(object,...)

## S3 method for class 'hlme'
residuals(object,...)
## S3 method for class 'lcmm'
residuals(object,...)
## S3 method for class 'Jointlcmm'
residuals(object,...)
## S3 method for class 'multlcmm'
residuals(object,...)

Arguments

object

an object of class hlme, lcmm, multlcmm or Jointlcmm

...

other arguments. There are ignored in these functions.

Value

For coef, the vector of the estimates.

For vcov, the variance-covariance matrix of the estimates.

For fixef : - for hlme, lcmm and multlcmm objects, a list containing the fixed effects estimates in the class-membership model and in the longitudinal model. - for Jointlcmm objects, a list containing the fixed effects estimates in the class-membership model, the survival model and in the longitudinal model.

For ranef, a matrix (nrow=number of subjects, ncol=number of covariates with random effect) containing the individual random effects.

For fitted, a vector containing the subject-specific predictions extracted from object.

For residuals, a vector containing the subject-specific residuals extracted from object.

Author(s)

Cecile Proust-Lima, Viviane Philipps

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.