epiforecasts / forecast.vocs

Contains models and tools to produce short-term forecasts for both case and sequence notifications assuming circulation of either one or two variants. Tools are also provided to allow the evaluation of the use of sequence data for short-term forecasts in both real-world settings and in user generated scenarios.
http://epiforecasts.io/forecast.vocs
Other
8 stars 3 forks source link

Feature s3 posterior methods #101

Closed seabbs closed 2 years ago

seabbs commented 2 years ago

This PR adds a S3 method workflow and streamlines the lower level workflow. It builds on top of (and fixes issues with #100)

Features

Breaking changes

Bug fixes

codecov[bot] commented 2 years ago

Codecov Report

Merging #101 (f2eaa27) into main (01d9e57) will decrease coverage by 7.82%. The diff coverage is 42.63%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
- Coverage   95.19%   87.36%   -7.83%     
==========================================
  Files          11       13       +2     
  Lines         707      815     +108     
==========================================
+ Hits          673      712      +39     
- Misses         34      103      +69     
Impacted Files Coverage Δ
R/check.R 85.00% <ø> (ø)
R/data-scenarios.R 100.00% <ø> (ø)
R/forecast-methods.R 0.00% <0.00%> (ø)
R/posterior-methods.R 0.00% <0.00%> (ø)
R/utils.R 75.00% <22.22%> (-25.00%) :arrow_down:
R/postprocess.R 98.63% <95.83%> (+0.08%) :arrow_up:
R/forecast-tools.R 100.00% <100.00%> (ø)
R/forecast.R 92.85% <100.00%> (+0.43%) :arrow_up:
R/plot.R 91.48% <100.00%> (+3.42%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 01d9e57...f2eaa27. Read the comment docs.