View source: R/methods_generic.R
| residuals.tulpa_fit | R Documentation |
Population-level residuals from the fixed-effect fitted mean: "response"
is y - E[y | eta] on the response scale (trial-scaled for binomial,
offset included); "pearson" additionally scales by the family standard
deviation sqrt(Var(y | eta)) at the fitted linear predictor. Random
effects are held at zero, matching fitted(). On a zero-inflated fit both
the mean and the variance are the mixture's.
## S3 method for class 'tulpa_fit'
residuals(object, type = c("pearson", "response"), ...)
object |
A |
type |
|
... |
Ignored. |
Numeric vector of length nobs(object).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.