specifies the key cells in comparative plots. For each plot, PROC CAPABILITY first determines the horizontal axis scaling for the key cell, and then
extends the axis using the established tick interval to accommodate the data ranges for the remaining cells, if necessary.
Thus, the choice of the key cell determines the uniform horizontal axis that PROC CAPABILITY uses for all cells.
If you specify only one CLASS variable and use a plot statement, KEYLEVEL=value identifies the key cell as the level for which the CLASS variable is equal to value. By default, PROC CAPABILITY sorts the levels in the order determined by the ORDER= option, and the key cell is the first
occurrence of a level in this order. The cells display in order from top to bottom or left to right. Consequently, the key
cell appears at the top (or left). When you specify a different key cell with the KEYLEVEL= option, this cell appears at the
top (or left).
If you specify two CLASS variables, use KEYLEVEL= ( value1 value2) to identify the key cell as the level for which CLASS variable n is equal to valuen. By default, PROC CAPABILITY sorts the levels of the first CLASS variable in the order that is determined by its ORDER= option.
Then, within each of these levels, it sorts the levels of the second CLASS variable in the order that is determined by its
ORDER= option. The default key cell is the first occurrence of a combination of levels for the two variables in this order.
The cells display in the order of the first CLASS variable from top to bottom and in the order of the second CLASS variable
from left to right. Consequently, the default key cell appears at the upper left corner. When you specify a different key
cell with the KEYLEVEL= option, this cell appears at the upper left corner.
The length of the KEYLEVEL= value cannot exceed 16 characters and you must specify a formatted value.
The KEYLEVEL= option has no effect unless you specify a plot statement.