View source: R/helper_outlier.R
plot.outlier_model | R Documentation |
A plot method to show the approximated distribution of the deviance test statistic
## S3 method for class 'outlier_model' plot(x, sig_col = "#FF0000A0", ...)
x |
An object returned from |
sig_col |
Color of the significance level area (default is red) |
... |
Not used. For S3 compatability. |
The dotted line represents the observed test statistic of z
and the colored (red is default) area under the graph represents the significance level.
Thus, if z
is supplied and the dotted line is to the left of the colored area,
the hypothesis that the observation is an outlier cannot be rejected. Notice however,
if there is no dotted line, this simply means, that the observed test statistic is
larger than all values and it would disturb the plot if included.
No return value, called for side effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.