projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ONEWAY: seperate the command specification from the variables used in its calculation
[pspp]
/
src
/
language
/
stats
/
aggregate.h
diff --git
a/src/language/stats/aggregate.h
b/src/language/stats/aggregate.h
index 95e574a0975e00762f38163b4ae75c26cbc3b57c..1a50bbe4caea0a167b75e99a1b06bf8d790f14d3 100644
(file)
--- a/
src/language/stats/aggregate.h
+++ b/
src/language/stats/aggregate.h
@@
-30,6
+30,16
@@
enum agr_src_vars
AGR_SV_OPT
};
AGR_SV_OPT
};
+/* Aggregation functions. */
+enum
+ {
+ SUM, MEAN, MEDIAN, SD, MAX, MIN, PGT, PLT, PIN, POUT, FGT, FLT, FIN,
+ FOUT, N, NU, NMISS, NUMISS, FIRST, LAST,
+
+ FUNC = 0x1f, /* Function mask. */
+ FSTRING = 1<<5, /* String function bit. */
+ };
+
/* Attributes of an aggregation function. */
struct agr_func
{
/* Attributes of an aggregation function. */
struct agr_func
{