powered by
Generate plot with the observed data with abnormalities identified
# S3 method for weco plot(x, ...)
A class weco vector returned from weco.rule or weco.combine
weco
weco.rule
weco.combine
The function takes the following arguments
First point for plotting
Last point for plotting
Index of data points that will be highlighted
Number of running points that will be colored differently
Boolean. If true, reference lines will be given at 1, 2 and 3 times standard deviation
Range of Y-axis
Color of each data point
weco.rule, weco.combine
# NOT RUN { x <- rnorm(1000); rst.comb <- weco.combine(x, lst.rules=list(list(1), list(2, k=9))); plot(rst.comb, start=10, end=80, selected = c(60,70)); # }
Run the code above in your browser using DataLab