Description Usage Arguments Value See Also Examples
View source: R/summarize_extract.R
residuals is a generic function which extracts model residuals from objects
returned by the modelling function glm.izip or tsglm.izip. resid is an alias for
residuals .
1 2 3 4 5 |
object |
an object class 'izip' or 'tsizip', obtained from a call to |
type |
the |
... |
other arguments passed to or from other methods (currently unused). |
Residuals extracted from the object object.
coef.izip, fitted.izip, glm.izip,
coef.tsizip, fitted.tsizip, tsglm.izip
1 2 3 4 5 6 7 8 9 | data(bioChemists)
M_bioChem <- glm.izip(art ~ ., data = bioChemists)
# deviance residuals
residuals(M_bioChem)
data(arson)
M_arson <- tsglm.izip(arson ~ 1, past_mean_lags = 1, past_obs_lags = c(1, 2))
# pearson residuals
resid(M_arson, type = "pearson")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.