model_frame: Construct Design Matrices for flexreg Objects
Description
Method for extracting design matrix from fitted
regression model objects of class `flexreg`.
Usage
model_frame(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).