Extract or remake model matrix from model
Extract or remake model matrix from model and potentially change the contrast coding
get_model_matrix(model, type = c("extract", "remake"), contrasts = "restore")
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.
|
the model (or 'design') matrix.
Rune Haubo B Christensen
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.