Get the terms or model matrix from an mhglm
object.
# S3 method for mhglm
model.matrix(object, type = c("fixed", "random"), ...)
# S3 method for mhglm_ml
model.matrix(object, type = c("fixed", "random"), ...) # S3 method for mhglm
terms(x, type = c("fixed", "random"), ...)
# S3 method for mhglm_ml
terms(x, type = c("fixed", "random"), ...)
an mhglm
object.
which terms to get (for the fixed or for the random effects).
further arguments passed to or from other methods.