Learn R Programming

weco (version 1.2)

weco.info: Describe WECO rules

Description

Get the description of a WECO rule

Usage

weco.info(rule, ..., prt = TRUE)

Arguments

rule

WECO rule number from 1 to 8

...

Specifications for individual rule

k

Number of "abnormal" data points

l

Number of standard deviations

n

Number of data points prior to the current point (including the current point) to be evaluated

prt

Whether to print the detailed information

Value

A list that contains a text description of the rule and a vector of parameters with their default values

Examples

Run this code
# NOT RUN {
info.1 <- weco.info(rule=1);
print(info.1$description);
info.1 <- weco.info(rule=1, l=2);
print(info.1$description);

# }

Run the code above in your browser using DataLab