model.matrix.clme {CLME} | R Documentation |
Extract the model design matrix.
Description
Extracts the fixed-effects design matrix from objects of class clme
.
Usage
## S3 method for class 'clme'
model.matrix(object, type = "fixef", ...)
## S3 method for class 'summary.clme'
model.matrix(object, ...)
Arguments
object |
an object of class |
type |
specify whether to return the fixed-effects or random-effects matrix. |
... |
space for additional arguments |
Value
Returns a matrix.
See Also
Examples
## Not run:
data( rat.blood )
cons <- list(order = "simple", decreasing = FALSE, node = 1 )
clme.out <- clme(mcv ~ time + temp + sex + (1|id), data = rat.blood ,
constraints = cons, seed = 42, nsim = 0)
model.matrix( clme.out )
## End(Not run)
[Package CLME version 2.0-12 Index]