Skip to content

Commit

Permalink
delete sentence about warning if non-zero first element
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitejohnson committed Oct 11, 2024
1 parent 2e1aa86 commit c9c18c7
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 c9c18c7

Please sign in to comment.