Learn R Programming

weco (version 1.2)

weco.combine: Combination of WECO Rules

Description

Apply a combination of multiple WECO rules to continuously observed data from some process to detect abnormal signals

Usage

weco.combine(x, sdx = sd(x), mux = mean(x), lst.rules)

Arguments

x

A vector of continuously observed data from some process

sdx

Standard deviation of the observed data

mux

Mean of the observed data

lst.rules

List of rules with parameters. The first element in the list is the rule number

Value

A vector with the same length as x that contains the out of boundary status of each point

Examples

Run this code
# NOT RUN {
x         <- rnorm(1000);
rst.comb  <- weco.combine(x, lst.rules=list(list(1), list(2, k=9)));
rst.comb2 <- weco.combine(x, lst.rules=list(list(3), list(4, k=16)));

# }

Run the code above in your browser using DataLab