Description Usage Arguments Value Author(s)
model.matrix.ocm
is the ordinalCont specific method for the generic function model.matrix
,
which extracts the model matrix from objects of class ocm
.
1 2 | ## S3 method for class 'ocm'
model.matrix(object, random.terms = TRUE, ...)
|
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. |
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.
Maurizio Manuguerra, Gillian Heller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.