# S3 method for gpcm
residuals(object, resp.patterns = NULL, order = TRUE, …)# S3 method for grm
residuals(object, resp.patterns = NULL, order = TRUE, …)
# S3 method for ltm
residuals(object, resp.patterns = NULL, order = TRUE, …)
# S3 method for rasch
residuals(object, resp.patterns = NULL, order = TRUE, …)
# S3 method for tpm
residuals(object, resp.patterns = NULL, order = TRUE, …)