Open sophiemeakin opened 1 year ago
Hi Sophie,
As we discussed I like this and it would be interesting to enable it as a postprocessing option. Do you have the code you used for this in the public domain somewhere? Anything pulled from it will obliviously be acknowledged and linked back.
I've put the relevant functions into a gist: https://gist.github.com/sbfnk/5f3c3281abad80c4b3cd5b7d39e0c95a for future integration here.
I hope that's OK, @sophiemeakin (please do say if not) - have added you as an author in the function roxygen block.
Aye aye, all good with me! 👍🏻🙂
Add functionality to aggregate daily forecasts to weekly forecasts, and visualise.
I've implemented this in a separate project, so minimal extra work 🎉 In summary:
EpiNow2::regional_epinow
, aggregates samples from days to weeks (using specifiedweek_start
) and then summarises using specified quantiles (could fix this to median and 20%, 50% and 90% quantiles to match current summary).Happy to discuss!