View source: R/residuals.CARBayesST.R
residuals.CARBayesST | R Documentation |
This function takes a CARBayesST 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 class 'CARBayesST'
residuals(object, type, ...)
object |
A CARBayesST fitted model object. |
type |
A text string and one of c("response", "pearson"). If this argument is omitted the default is "pearson". |
... |
Ignored. |
Duncan Lee
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.