model.matrix.flexreg | R Documentation |
Method for extracting design matrices from fitted
regression model objects of class `flexreg`
.
## S3 method for class 'flexreg'
model.matrix(object, ...)
object |
an object of class |
... |
additional arguments. Currently not used. |
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).
## Not run:
data("Reading")
FB <- flexreg(accuracy.adj ~ iq, data = Reading, n.iter = 1000)
model.matrix(FB)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.