
Last chance! 50% off unlimited learning
Sale ends in
Extract residuals from an object of class JointAI
# S3 method for JointAI
residuals(object, type = c("working", "pearson",
"response"), warn = TRUE, ...)
object inheriting from class 'JointAI'
type of residuals: "deviance"
, "response"
,
"working"
logical; should warnings be given? Default is
TRUE
.
currently not used
mod <- glm_imp(B1 ~ C1 + C2 + O1, data = wideDF, n.iter = 100,
family = binomial(), mess = FALSE)
summary(residuals(mod, type = 'response')[[1]])
summary(residuals(mod, type = 'working')[[1]])
Run the code above in your browser using DataLab