Variable Specification (SPCHART command)
VAR BY VAR
The variable that is specified before keyword
BY
contains the number of defects in each
unit (for example, COUNT in Table 1).
The variable must be numeric. The variable that is specified after
keyword BY
is the subgroup identifier
(for example, SUBGROUP in Table 1).
This variable can be any type of variable. The chart is sorted by
values of the subgroup identifier. COUNT(VAR) N({VAR}) [BY VAR]
{VAL}
The specification is the same as the specification for p and np charts.