residuals.haplo.glm | R Documentation |
Access the residuals from a haplo.glm model fit
## S3 method for class 'haplo.glm'
residuals(object, type=c("deviance", "pearson",
"working", "response"), ...)
object |
A haplo.glm object |
type |
Type of residuals to return. Options are "deviance" (default), "pearson", "working", and "response". Partial residuals not supported in this method. |
... |
Optional arguments |
Many of the subjects in a haplo.glm fit are expanded in the model matrix with weights used to reflect the posterior probability of the subject's haplotype pairs given their genotype. The working residuals within the fitted object are from this expanded model matrix, and the residuals in this method are calculated from the weighted fitted value for the subject across all their haplotype pairs.
Residuals for each person in the model.
haplo.glm
,
residuals.glm
,
fitted.haplo.glm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.