residout | R Documentation |
Create a control chart of residuals and identify outliers.
residout(resid, t = 2, outplot = c(TRUE, FALSE))
resid |
vector of residuals. |
t |
threshold value over which standardised residuals are regarded as outliers. |
outplot |
if |
A list containing:
location
: locations of outliers.
outliers
: values of outliers.
residuals
: standardised residuals.
Nikolaos Kourentzes, nikolaos@kourentzes.com.
residout(rnorm(50), outplot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.