docs
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 16 Aug 2022 14:48:39 +0000 (07:48 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 16 Aug 2022 14:48:39 +0000 (07:48 -0700)
doc/statistics.texi

index 44db27aad129f0585f8027c1ad88df8a2e5a319d..927e27e008f8c769aab1bd7f21115b1028ccb4b3 100644 (file)
@@ -1187,6 +1187,30 @@ CTABLES /TABLE=AgeGroup [COLPCT 'Gender %' PCT5.0,
 @psppoutput {ctables11}
 
 @c TODO special CTABLES formats
+In addition to the standard formats, @code{CTABLES} allows the user to
+specify the following special formats:
+
+@multitable {@code{NEGPAREN@i{w}.@i{d}}} {Encloses all numbers in parentheses.} {@t{(42.96%)}} {@t{(-42.96%)}}
+@item @code{NEGPAREN@i{w}.@i{d}}
+@tab Encloses negative numbers in parentheses.
+@tab @t{@w{    }42.96}
+@tab @t{@w{  }(42.96)}
+
+@item @code{NEQUAL@i{w}.@i{d}}
+@tab Adds a @code{N=} prefix.
+@tab @t{@w{  }N=42.96}
+@tab @t{@w{ }N=-42.96}
+
+@item @code{@code{PAREN@i{w}.@i{d}}}
+@tab Encloses all numbers in parentheses.
+@tab @t{@w{  }(42.96)}
+@tab @t{@w{ }(-42.96)}
+
+@item @code{PCTPAREN@i{w}.@i{d}}
+@tab Encloses all numbers in parentheses with a @samp{%} suffix.
+@tab @t{@w{ }(42.96%)}
+@tab @t{(-42.96%)}
+@end multitable
 
 Parentheses provide a shorthand to apply summary specifications to
 multiple variables.  For example, both of these commands: