model.matrix.clme: Extract the model design matrix.

Description Usage Arguments Value See Also Examples

View source: R/utilities.r

Description

Extracts the fixed-effects design matrix from objects of class clme.

Usage

1
2
3
4
5
## 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 clme.

type

specify whether to return the fixed-effects or random-effects matrix.

...

space for additional arguments

Value

Returns a matrix.

See Also

CLME-package clme

model.matrix.clme

Examples

1
2
3
4
5
6
7
8
9
## 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)

CLME documentation built on July 8, 2020, 5:49 p.m.