powered by
Plot of results obtained using functions KRDetect.outliers.changepoint, KRDetect.outliers.controlchart and KRDetect.outliers.EV for identification of outliers. The function graphically visualizes results obtained using functions for outlier detection implemented in package envoutliers.
KRDetect.outliers.changepoint
KRDetect.outliers.controlchart
KRDetect.outliers.EV
# S3 method for KRDetect plot(x, show.segments = TRUE, plot.type = "all", xlab = "index", ylab = "data values", ...)
a KRDetect object obtained as an output of function KRDetect.outliers.changepoint, KRDetect.outliers.controlchart or KRDetect.outliers.EV for identification of outliers.
a logical variable specifying if vertical lines representing individual segments are plotted. Only required for results obtained using KRDetect.outliers.changepoint function.
a type of plot with outliers displayed.
Possible options for KRDetect.outliers.controlchart are
"all" to show outliers detected using control chart x, R and s
"all"
"x" to show outliers detected using control chart x
"x"
"R" to show outliers detected using control chart R
"R"
"s" to show outliers detected using control chart s
"s"
Possible options for KRDetect.outliers.EV are
"all" to show outliers with both extremely low and high value
"min" to show outliers with extremely low value
"min"
"max" to show outliers with extremely high value
"max"
a title for the x axis
a title for the y axis
further arguments to be passed to the plot function.
plot
This function plots the results obtained using function KRDetect.outliers.changepoint, KRDetect.outliers.controlchart or KRDetect.outliers.EV implemented in package envoutliers and identificating outliers.
# NOT RUN { data("mydata", package = "openair") x = mydata$o3[format(mydata$date, "%m %Y") == "12 2002"] result = KRDetect.outliers.EV(x) plot(result) # }
Run the code above in your browser using DataLab