get_model_matrix {lmerTest} | R Documentation |
Extract or remake model matrix from model
Description
Extract or remake model matrix from model and potentially change the contrast coding
Usage
get_model_matrix(model, type = c("extract", "remake"), contrasts = "restore")
Arguments
model |
an |
type |
extract or remake model matrix? |
contrasts |
contrasts settings. These may be restored to those in the
model or they may be changed. If a length one character vector (e.g.
|
Value
the model (or 'design') matrix.
Author(s)
Rune Haubo B Christensen
[Package lmerTest version 3.1-3 Index]