model.matrix.flexreg: Construct Design Matrices for flexreg Objects
Description
Method for extracting design matrices from fitted
regression model objects of class `flexreg`.
Usage
# S3 method for flexreg
model.matrix(object, ...)
Arguments
object
an object of class `flexreg`, usually the result of
flexreg or flexreg_binom functions.
...
additional arguments. Currently not used.
Details
The method returns a list containing all the design matrices involved
in the regression models, namely `X` (regression on the mean), `Z`
(regression on the precision or overdispersion parameters), `X0` (regression
on the augmentation in zero probability), and/or `X1` (regression
on the augmentation in one probability).