Learn R Programming

JointAI (version 0.6.1)

residuals.JointAI: Extract residuals from an object of class JointAI

Description

Extract residuals from an object of class JointAI

Usage

# S3 method for JointAI
residuals(object, type = c("deviance", "response", "working"), ...)

Arguments

object

object inheriting from class 'JointAI'

type

type of residuals: "deviance", "response", "working"

...

currently not used

Examples

Run this code
# NOT RUN {
mod <- glm_imp(B1 ~ C1 + C2 + O1, data = wideDF, n.iter = 100,
               family = binomial(), mess = FALSE)
summary(residuals(mod, type = 'response'))
summary(residuals(mod, type = 'working'))


# }

Run the code above in your browser using DataLab