From: Ben Pfaff Date: Sat, 19 Mar 2005 21:05:10 +0000 (+0000) Subject: AGGREGATE's sort is stable. X-Git-Tag: sav-api~2367 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90ad684b55fa7aeef3e5f783d212d72cb9984853;p=pspp AGGREGATE's sort is stable. --- diff --git a/doc/transformation.texi b/doc/transformation.texi index 9225ca8000..d94c1366e6 100644 --- a/doc/transformation.texi +++ b/doc/transformation.texi @@ -103,6 +103,9 @@ format is F5.3. @item FIRST(var_name) First non-missing value in break group. The aggregation variable receives the complete dictionary information from the source variable. +The sort performed by AGGREGATE (and by SORT CASES) is stable, so that +the first case with particular values for the break variables before +sorting will also be the first case in that break group after sorting. @item FOUT(var_name, low, high) Fraction of values strictly outside the specified range of constants. @@ -111,6 +114,9 @@ The default format is F5.3. @item LAST(var_name) Last non-missing value in break group. The aggregation variable receives the complete dictionary information from the source variable. +The sort performed by AGGREGATE (and by SORT CASES) is stable, so that +the last case with particular values for the break variables before +sorting will also be the last case in that break group after sorting. @item MAX(var_name) Maximum value. The aggregation variable receives the complete