Chapter Contents |
Previous |
Next |
INSET Statement |
title 'Comparison of IC Failures'; proc pareto data=failure3; vbar cause / class = stage freq = counts maxncat = 5 classkey = 'Before Cleaning' cframe = ligr cbars = vigb cconnect = salmon; inset n (3.1) nexcl='N Excl' (3.1) / cfill = ywh ctext = vigb height = 3; run;
The resulting chart is displayed in Figure 28.2. You can provide your own label by specifying the keyword for that statistic followed by an equal sign (=) and the label in quotes. The label can have up to 24 characters.
The format 3.1 specified in parentheses after the N and NEXCL keywords displays those statistics with a field width of three and one decimal place. In general, you can specify any numeric SAS format in parentheses after an inset keyword. You can also specify a format to be used for all the statistics in the INSET statement with the FORMAT= option. For more information about SAS formats, refer to Chapter 14 of SAS Language Reference: Dictionary.
Note that if you specify both a label and a format for a statistic, the label must appear before the format.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.