| residuals.blim | R Documentation | 
Computes deviance and Pearson residuals for blim objects.
## S3 method for class 'blim'
residuals(object, type = c("deviance", "pearson"), ...)
object | 
 an object of class   | 
type | 
 the type of residuals which should be returned; the
alternatives are:   | 
... | 
 further arguments passed to or from other methods. None are used in this method.  | 
See residuals.glm for details.
A named vector of residuals having as many elements as response patterns.
blim, residuals.glm,
plot.blim.
data(DoignonFalmagne7)
blim1 <- blim(DoignonFalmagne7$K, DoignonFalmagne7$N.R)
sum( resid(blim1)^2 )                # likelihood ratio G2
sum( resid(blim1, "pearson")^2 )     # Pearson X2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.