NelsonRules {Rspc}R Documentation

NelsonRules

Description

Auxiliary function to calling individual Rule functions.

Usage

NelsonRules(ruleN, data, zoneB, limits, parRules = NULL, ...)

Arguments

ruleN

Name of individual Rule function "Rule1" to "Rule8"

data

Data to be checked, numerical vector

zoneB

Vector of zones created by CalculateLimits

limits

List of limit created by CalculateLimits

parRules

List of optional parameters for this particular rule

...

unspecified arguments of a function

Details

Handling the missing values:

Missing values are represented by the symbol NA - not available.

Rule 1: NAs do not violate this rule.

Rule 2-8: NAs are ignored, they do not break Rule evaluation. NA values are removed from the vector, the rule function is calculated and then the NAs are returned back to it's original position in the vector.

Value

Result of individual Rule function with predefined parameters


[Package Rspc version 1.2.2 Index]