generateChart: Generates control chart object.

Description Usage Arguments Value

Description

Generates control chart object.

Usage

1
2
generateChart(blocks, type, parameters, bounds, description, y_value,
  y_value_name = "measured quantity", desired_value, desired_value_name)

Arguments

blocks

[list]
List of blocks from which quantity is computed.

type

[character(1)]
Type of the control chart as a string. Currently only x-chart is supported.

parameters

[list]
List of parameters needed to compute control respectively warning bounds.

bounds

[list]
List which contains the fields upper control bound (UCB), lower control bound (LCB), upper warning bound (UWB) and lower warning bound (LWB). At least the two first of those must be provided.

description

[character(1)]
Description of the measured quantity. Used as subtitle in graphical representation.

y_value

[numeric]
Values of the measured characteristic. Typically a single numeric value or a n sequence, where n is the number of blocks.

y_value_name

[character(1)]
Name for the measured characteristic. Used for example for the y axis label in the plot by default.

desired_value

[numeric]
Reference value of the measured quantity, i.e., the average value. May be a single value or comply with the number of blocks (see blocks parameter).

desired_value_name

[character(1)]
Label of the desired value. Used in the graphical representation.

Value

Object of type scc_chart.


jakobbossek/scc documentation built on May 18, 2019, 10:11 a.m.