Description Usage Arguments Value See Also Examples
Apply individual WECO rules 1-8 to continuously observed data from some
process to detect abnormal signals. See weco-package
for the
details of the eight WECO rules.
1 |
rule |
WECO rule number from 1 to 8 |
x |
A vector of continuously observed data from some process |
sdx |
Standard deviation of the observed data |
mux |
Mean of the observed data |
... |
Specifications for individual rule
|
A class weco
list contains the original data x
, the mean,
standard deviation, the rules, and a vector with the same length as x
that
contains the out of boundary status of each point
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | x <- rnorm(1000);
## use empirical mean and standard deviation of x
rst.1 <- weco.rule(1, x, l=3);
rst.2 <- weco.rule(2, x, k=9);
rst.3 <- weco.rule(3, x, k=6);
rst.4 <- weco.rule(4, x, k=16);
rst.5 <- weco.rule(5, x, k=2, n=3, l=2);
rst.6 <- weco.rule(6, x, k=4, n=5, l=1);
rst.7 <- weco.rule(7, x, k=15, l=1);
rst.8 <- weco.rule(8, x, k=8, l=1);
## use given mean and standard deviation
rst.1 <- weco.rule(1, x, l=3, mux=0, sdx=1);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.