View source: R/residuals.msme.R
residuals.msme | R Documentation |
Function to produce deviance and standardized deviance residuals from a model of class msme.
## S3 method for class 'msme'
residuals(object, type = c("deviance", "standard"), ...)
object |
a model of class msme. |
type |
the type of residual requested. Defaults to deviance. |
... |
arguments to pass on. Retained for compatibility with generic method. |
Presently only deviance or standardized deviance residuals are computed.
A vector of residuals.
Andrew Robinson and Joe Hilbe.
Hilbe, J.M., and Robinson, A.P. 2013. Methods of Statistical Model Estimation. Chapman & Hall / CRC.
data(medpar)
ml.poi <- ml_glm(los ~ hmo + white,
family = "poisson",
link = "log",
data = medpar)
str(residuals(ml.poi))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.