CalculateZoneBorders {Rspc}R Documentation

CalculateZoneBorders

Description

Some Nelson rules uses so-called zones. This function calculates the borders of the zones for given limits.

Usage

CalculateZoneBorders(limits, controlLimitDistance = 3)

Arguments

limits

List of limits provided by CalculateLimits

controlLimitDistance

Multiple of st.dev to be used to calculate limits, possible values: 1, 2, 3 (default); this parameter affect the interpretation of lcl and ucl parameters

Value

Vector of zones

Examples

limits = CalculateLimits(x = rnorm(10), lcl = NA, cl = 100, ucl = NA, type = 'i')
CalculateZoneBorders(limits)
#limits is object created by CalculateLimits() function

[Package Rspc version 1.2.2 Index]