Skip to content

Commit

Permalink
delete sentence about warning if non-zero first element (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitejohnson authored Oct 15, 2024
1 parent 9cf7ad2 commit ac08a83
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vignettes/EpiNow2.Rmd.orig
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ Users can also pass a non-parametric delay distribution vector using the `NonPar
for both the generation interval and reporting delays. It is important to note that if doing so,
both delay distributions are 0-indexed, meaning the first element corresponds to the probability mass
at day 0 of an individual's infection. Because the discretised renewal equation doesn't support mass on day 0, the generation interval should be passed in as a 0-indexed vector with a mass of zero on day 0.
If this is not the case, a warning will indicate that the vector is being left-truncated and renormalized.

```{r}
example_non_parametric_gi <- NonParametric(pmf = c(0, 0.3, 0.5, 0.2))
Expand Down

0 comments on commit ac08a83

Please sign in to comment.