CTABLES work on distinguishing scale variables in summaries
[pspp] / tests / language / stats / ctables.at
index 461a62220b8b639c1b2bea72d1dbaca8e18d8c45..dca260d0adc027bb5aa209e8e61151f20dd24aae 100644 (file)
@@ -12,7 +12,6 @@ dnl   * Unimplemented ones.
 dnl   * U-prefix for unweighted summaries.
 dnl   * .LCL and .UCL suffixes.
 dnl   * .SE suffixes.
-dnl   * Separate summary functions for totals and subtotals.
 dnl - CATEGORIES:
 dnl   * String values
 dnl   * Date values
@@ -36,6 +35,8 @@ dnl - test CLABELS ROWLABELS=LAYER.
 dnl - Test VLABELS.
 dnl - Test WEIGHT and adjustment weights.
 dnl - Test PCOMPUTE and PPROPERTIES.
+dnl - Summary functions:
+dnl   * Separate summary functions for totals and subtotals.
 dnl - CATEGORIES:
 dnl   * THRU
 dnl   * OTHERNM
@@ -707,7 +708,7 @@ AT_DATA([ctables.sps],
 [[GET 'nhtsa.sav'.
 CTABLES /TABLE=qn17
     /CATEGORIES VARIABLES=qn17 TOTAL=YES LABEL='Number responding'.
-CTABLES /TABLE=region > qn18 [MEAN, COUNT]
+CTABLES /TABLE=region > qn18 [MEAN, COUNT, TOTALS [MEAN, COUNT, TOTALN]]
     /CATEGORIES VARIABLES=region TOTAL=YES LABEL='All regions'.
 ]])
 AT_CHECK([pspp ctables.sps -O box=unicode -O width=80], [0], [dnl