Skip to content

Commit

Permalink
update variable name(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Sep 30, 2024
1 parent 5e12a5b commit e14a151
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/simulate_infections.R
Original file line number Diff line number Diff line change
Expand Up @@ -500,13 +500,13 @@ forecast_infections <- function(estimates,
}

## join batches
out <- compact(out)
out <- list_transpose(out, simplify = FALSE)
out <- map(out, rbindlist)
regional_out <- compact(regional_out)
regional_out <- list_transpose(regional_out, simplify = FALSE)
regional_out <- map(regional_out, rbindlist)

## format output
format_out <- format_fit(
posterior_samples = out,
posterior_samples = regional_out,
horizon = estimates$args$horizon,
shift = shift,
burn_in = 0,
Expand Down

0 comments on commit e14a151

Please sign in to comment.