better comment
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 16 Jan 2022 00:18:18 +0000 (16:18 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 13 Mar 2022 23:56:02 +0000 (16:56 -0700)
src/language/stats/ctables.c

index 87f7d23a05838e200bdb613c5257dd78eb289942..2eed4be1bf39071e2208df9587771bee5c8a4f32 100644 (file)
@@ -2762,17 +2762,16 @@ ctables_table_output_different_axis (struct ctables *ct, struct ctables_table *t
              - category for nest->vars[1]
              ...
              - variable label for nest->vars[nest->n - 1], if vlabel != CTVL_NONE
-             - category for nest->vars[nest->n - 1], unless axis A's
-               labels are moved to another axis
-             - summary function, if 'a == t->summary_axis && t->slabels_axis ==
-               t->summary_axis'
+             - category for nest->vars[nest->n - 1], unless t->label_axis[a] != a.
+             - summary function, if 'a == t->slabels_axis && a ==
+               t->summary_axis'.
 
              Additional dimensions:
 
-             - If 't->slabels_axis != t->summary_axis', add a summary dimension
-               to t->slabels_axis.
-             - If 't->row_labels == 
-
+             - If 'a == t->slabels_axis && a != t->summary_axis', add a summary
+               dimension.
+             - If 't->label_axis[b] == a' for some 'b != a', add a category
+               dimension to 'a'.
            */
 
           size_t n_common = 0;