model.matrix.mhglm: Terms and Model Matrix

View source: R/mhglm.R

model.matrix.mhglmR Documentation

Terms and Model Matrix

Description

Get the terms or model matrix from an mhglm object.

Usage

  ## S3 method for class 'mhglm'
model.matrix(object, type = c("fixed", "random"), ...)
  ## S3 method for class 'mhglm_ml'
model.matrix(object, type = c("fixed", "random"), ...)

  ## S3 method for class 'mhglm'
terms(x, type = c("fixed", "random"), ...)
  ## S3 method for class 'mhglm_ml'
terms(x, type = c("fixed", "random"), ...)

Arguments

object, x

an mhglm object.

type

which terms to get (for the fixed or for the random effects).

...

further arguments passed to or from other methods.

See Also

model.matrix, terms


mbest documentation built on June 8, 2025, 12:52 p.m.