This function takes a CARBayes object and returns a set of residuals. The allowable types of residual are "response" (raw) and "pearson" (the default). In each case the fitted values are based on posterior means.
# S3 method for CARBayes
residuals(object, type, ...)
A CARBayes fitted model object.
A text string and one of "response" or "pearson". If this argument is omitted the default is "pearson".
Ignored.
Duncan Lee