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