aboutsummaryrefslogtreecommitdiff
path: root/pkg/R
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/R')
-rw-r--r--pkg/R/TOXSWA_cwa.R1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/R/TOXSWA_cwa.R b/pkg/R/TOXSWA_cwa.R
index 948d7a9..7fd8ec1 100644
--- a/pkg/R/TOXSWA_cwa.R
+++ b/pkg/R/TOXSWA_cwa.R
@@ -252,6 +252,7 @@ TOXSWA_cwa <- R6Class("TOXSWA_cwa",
pre_interval = event_start - event_end
i_start = i
event = TRUE
+ event_max = cwa_cur
}
} else {
if (cwa_cur > event_max) event_max = cwa_cur

Contact - Imprint