From 44541ea360b7e35ed4e91563b6a968b0d61afddc Mon Sep 17 00:00:00 2001 From: "alex.hill@gmail.com" Date: Wed, 31 Jul 2024 23:05:28 +0100 Subject: [PATCH] add log --- R/scova.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/scova.R b/R/scova.R index bb53d0b..bfe29b3 100644 --- a/R/scova.R +++ b/R/scova.R @@ -504,11 +504,12 @@ scova <- R6::R6Class( by = c(private$all_formula_vars, "stan_id", "titre_type")] if (summarise) { - logger::log_info("Summarising into population quantiles") + logger::log_info("Resampling") dt_out <- dt_out[ !is.nan(mu), .(pop_mu_sum = mean(mosaic::resample(mu))), by = c("calendar_date", "draw", "titre_type")] + logger::log_info("Summarising into population quantiles") dt_out <- summarise_draws( dt_out, column_name = "pop_mu_sum",