phac-nml-phrsd / ern

R library to estimate the Effective Reproduction Number (Rt)
Other
6 stars 1 forks source link

hyper param for JAGS priors as input argument #184

Closed davidchampredon closed 10 months ago

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b1aa85c) 99.08% compared to head (c828d09) 99.08%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #184 +/- ## ======================================= Coverage 99.08% 99.08% ======================================= Files 15 15 Lines 979 983 +4 ======================================= + Hits 970 974 +4 Misses 9 9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

davidchampredon commented 10 months ago

Addresses issue #180 . The JAGS hyper parameter for the priors for $R_0$ and $\alpha$ were hard-coded in the JAGS script. Now, user can change them through the prm.daily input argument of the estimate_R_cl() function.