model.matrix.ocm {ordinalCont} | R Documentation |
Model Matrix
Description
model.matrix.ocm
is the ordinalCont specific method for the generic function model.matrix
,
which extracts the model matrix from objects of class ocm
.
Usage
## S3 method for class 'ocm'
model.matrix(object, random.terms = TRUE, ...)
Arguments
object |
an object of class |
random.terms |
a logical indicating if random terms have to be included in the terms object. Defaults to TRUE. |
... |
further arguments passed to or from other methods. |
Value
A design (or model) matrix with the variables needed to obtain the object x
, e.g., by expanding factors to a set of dummy variables and expanding interactions similarly.
Author(s)
Maurizio Manuguerra, Gillian Heller
[Package ordinalCont version 2.0.2 Index]