residuals.bbl {bbl} | R Documentation |
Binary-valued vector of fitted vs. true response group
## S3 method for class 'bbl'
residuals(object, ...)
object |
Object of class |
... |
Other arguments |
Discrete response group identity for each data point is compared with the fitted group and 0 (discordant) or 1 (concordant) is returned
Vector binary values for each data point
titanic <- as.data.frame(Titanic)
dat <- freq2raw(titanic[,1:4], freq=titanic$Freq)
fit <- bbl(Survived ~ .^2, data=dat)
x <- residuals(fit)
table(x)