aboutsummaryrefslogtreecommitdiffstats
path: root/stats/statsstate.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-19 11:18:10 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2021-01-20 08:47:18 +0100
commitba259fb1d66c242d9503ba9695ce55826370267e (patch)
tree440524313df74c492c35d02dbcbe209abd5e3566 /stats/statsstate.h
parentff536e98fc3e88c3c4fd769229cf901a9f272be0 (diff)
downloadsubsurface-ba259fb1d66c242d9503ba9695ce55826370267e.tar.gz
statistics: make confidence area and regression line opt-in
This is not perfect - the polygon of the confidence area is calculated even if it is not shown. Oh well. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/statsstate.h')
-rw-r--r--stats/statsstate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stats/statsstate.h b/stats/statsstate.h
index 1d8fe0b05..8fa6bb176 100644
--- a/stats/statsstate.h
+++ b/stats/statsstate.h
@@ -108,6 +108,8 @@ public:
bool median;
bool mean;
bool quartiles;
+ bool regression;
+ bool confidence;
const StatsBinner *var1Binner; // nullptr: undefined
const StatsBinner *var2Binner; // nullptr: undefined
StatsOperation var2Operation;