Next: Category Label Positions, Previous: Data Summarization, Up: CTABLES [Contents][Index]
/SLABELS [POSITION={COLUMN | ROW | LAYER}] [VISIBLE={YES | NO}]
The SLABELS
subcommand controls the position and visibility of
summary statistics for the TABLE
subcommand that it follows.
POSITION
sets the axis on which summary statistics appear.
With POSITION=COLUMN, which is the default, each summary statistic
appears in a column. For example:
CTABLES /TABLE=age [MEAN, MEDIAN] BY gender.
|
With POSITION=ROW, each summary statistic appears in a row, as shown below:
CTABLES /TABLE=age [MEAN, MEDIAN] BY gender /SLABELS POSITION=ROW.
|
POSITION=LAYER is also available to place each summary statistic in a separate layer.
Labels for summary statistics are shown by default. Use VISIBLE=NO to suppress them. Because unlabeled data can cause confusion, it should only be considered if the meaning of the data is evident, as in a simple case like this:
CTABLES /TABLE=ageGroup [TABLEPCT] /SLABELS VISIBLE=NO.
|
Next: Category Label Positions, Previous: Data Summarization, Up: CTABLES [Contents][Index]