diff --git a/NEWS.md b/NEWS.md index c490cc2..54ab307 100644 --- a/NEWS.md +++ b/NEWS.md @@ -8,6 +8,7 @@ * Drop old typos that snuck through the WORDLIST setup (#73) * Turn off credential caching in WORDLIST update action preventing CI from restarting (#74) +* Prepend missing zero to the start of the GI PMF for the sample dataset ## Developer tooling diff --git a/data-raw/sir_gt_pmf.R b/data-raw/sir_gt_pmf.R index 3cdb98c..2cf5e65 100644 --- a/data-raw/sir_gt_pmf.R +++ b/data-raw/sir_gt_pmf.R @@ -11,7 +11,8 @@ sir_gt_pmf <- primarycensored::dpcens(0:26, ) # v0.4.0 # Drop first element because GI can't have same-day transmission -sir_gt_pmf <- sir_gt_pmf[2:27] +# and replace with a zero +sir_gt_pmf <- c(0, sir_gt_pmf[2:27]) # Renormalize to a proper PMF while (abs(sum(sir_gt_pmf) - 1) > 1e-10) { diff --git a/data/sir_gt_pmf.rda b/data/sir_gt_pmf.rda index 1fa8bf2..271d526 100644 Binary files a/data/sir_gt_pmf.rda and b/data/sir_gt_pmf.rda differ