model.matrix.ocm is the ordinalCont specific method for the generic function model.matrix,
which extracts the model matrix from objects of class ocm.
# S3 method for ocm
model.matrix(object, random.terms = TRUE, ...)an object of class ocm, usually, a result of a call to ocm.
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.