spc.controlviolation.template: Control Violation Rule Template

View source: R/spc.controlviolation.template.R

spc.controlviolation.templateR Documentation

Control Violation Rule Template

Description

Use this template to create your own chart rules for use in custom rule sets.

Usage

spc.controlviolation.template(
  chart.series = NA,
  center.line = NA,
  control.limits.ucl = NA,
  zone.a.upper = NA,
  zone.ab.upper = NA,
  zone.bc.upper = NA,
  control.limits.lcl = NA,
  zone.a.lower = NA,
  zone.ab.lower = NA,
  zone.bc.lower = NA,
  ...
)

Arguments

chart.series

Vector - Chart series

center.line

Vector - Chart center line

control.limits.ucl

Vector - Chart upper control limit (UCL)

zone.a.upper

Vector - Chart Zone A boundary above center line.

zone.ab.upper

Vector - Chart boundary between Zone A and Zone B above center line.

zone.bc.upper

Vector - Chart boundary between Zone B and Zone C above center line.

control.limits.lcl

Vector - Chart lower control limit (LCL)

zone.a.lower

Vector - Chart Zone A boundary below center line.

zone.ab.lower

Vector - Chart boundary between Zone A and Zone B below center line.

zone.bc.lower

Vector - Chart boundary between Zone B and Zone C below center line.

Value

A logical vector with same length as chart.series identifying whether each point has a control violation or not.


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.