Description Usage Arguments Value Examples
View source: R/summarize_extract.R
Extract the Design Matrix from a iZIP Model Fit
1 2 3 4 5 | ## S3 method for class 'izip'
model.matrix(object, ...)
## S3 method for class 'tsizip'
model.matrix(object, ...)
|
object |
an object class 'izip' or 'tsizip' object, obtained from a call to |
... |
other arguments passed to or from other methods (currently unused). |
The method will return the saved model.matrix
used when fitting the iZIP model.
1 2 3 | data(bioChemists)
M_bioChem <- glm.izip(art ~ ., data = bioChemists)
model.matrix(M_bioChem)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.