shorter version of a long syntax

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

shorter version of a long syntax

Juanito Talili
Hello everyone,
 
As the number of variables become larger, the syntax below tends to get longer.  I appreciate if somebody can rewrite a shorter version.
Thank you.
 
 
CTABLES
/VLABELS VARIABLES=D1 D2 D3 D4 D5 D6 D7 DISPLAY=DEFAULT
/TABLE D1 [COUNT F40.0 TOTALS[MEAN]] + D2 [COUNT F40.0 TOTALS[MEAN]] + D3 [COUNT F40.0 TOTALS[MEAN]]
+ D4 [COUNT F40.0 TOTALS[MEAN]] + D5 [COUNT F40.0 TOTALS[MEAN]] + D6 [COUNT F40.0 TOTALS[MEAN]]
+ D7 [COUNT F40.0 TOTALS[MEAN]]
/CLABELS ROWLABEL=OPPOSITE
/CATEGORIES VARIABLES=D1 D2 D3 D4 D5 D6 D7 ORDER=A KEY=VALUE EMPTY=INCLUDE TOTAL=YES.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD