work on docs
[pspp] / src / math / box-whisker.h
index c9b2bef8d37d5227502eed9a48855e9771dde9e3..2dd5b5c609da2b0857396235da676672d32e0ec0 100644 (file)
@@ -26,6 +26,7 @@
    However, there's no reason not to use it for other purposes too.
  */
 struct tukey_hinges;
+struct variable;
 
 struct outlier
 {
@@ -47,15 +48,16 @@ struct box_whisker
 
   double step;
 
-  size_t casenumber_idx;
+  size_t id_idx;
+  const struct variable *id_var;
 };
 
 struct box_whisker * box_whisker_create (const struct tukey_hinges *,
-                                         size_t);
+                                         size_t id_idx, const struct variable *id_var);
 
 void box_whisker_whiskers (const struct box_whisker *bw, double whiskers[2]);
 
-void box_whisker_hinges (const struct box_whisker *bw, double hinges[2]);
+void box_whisker_hinges (const struct box_whisker *bw, double hinges[3]);
 
 const struct ll_list * box_whisker_outliers (const struct box_whisker *bw);