Skip to content

Commit

Permalink
Ensure the date column's class is correct to avoid errors with region…
Browse files Browse the repository at this point in the history
…al epinow
  • Loading branch information
CarmenTamayo committed Apr 11, 2024
1 parent 996652d commit 2c7d94b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ res_epinow2_group <- dat_i_day %>%
date = date_index,
region = .data[[group_var]]
) %>%
dplyr::mutate(date = as.Date(date)) %>%
regional_epinow(
generation_time = generation_time_opts(generation_time),
stan = stan_opts(samples = 1e3, chains = 2),
Expand Down

0 comments on commit 2c7d94b

Please sign in to comment.