From 26d7dbc679e99545a5ee6543edf0b8a2d7b183c7 Mon Sep 17 00:00:00 2001 From: SofiaOtero Date: Tue, 17 Dec 2024 10:11:14 +0100 Subject: [PATCH] Minor error fix --- R/seasonal_burden_levels.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/seasonal_burden_levels.R b/R/seasonal_burden_levels.R index 198a85b..3ccfef4 100644 --- a/R/seasonal_burden_levels.R +++ b/R/seasonal_burden_levels.R @@ -146,7 +146,7 @@ seasonal_burden_levels <- function( high_conf_level = quantiles_fit$conf_levels, values = stats::setNames(level_step_log, c("very low", "low", "medium", "high")), par = quantiles_fit$par, - obj_value = quantiles_fit$conf_levels, + obj_value = quantiles_fit$obj_value, converged = quantiles_fit$converged, family = quantiles_fit$family, disease_threshold = disease_threshold