The model matrices for each element of formula(object),
calculated using data, are bound together column-wise. When
multiple grouping levels are present (i.e. when length(object) >
1), the individual model matrices are combined from innermost (at
the leftmost position) to outermost (at the rightmost position).
Usage
## S3 method for class 'reStruct':
model.matrix(object, data, contrast, \dots)
Arguments
Value
a matrix obtained by binding together, column-wise, the model matrices
for each element of formula(object).