reconhub / incidence

☣:chart_with_upwards_trend::chart_with_downwards_trend:☣ Compute and visualise incidence
https://reconhub.github.io/incidence
Other
58 stars 13 forks source link

bootstrap for incidence objects #46

Closed thibautjombart closed 6 years ago

thibautjombart commented 6 years ago

The following may make sense, x being an input incidence object:

incidence(sample(x$dates, size = x$n, replace = TRUE, prob = x$counts))

thibautjombart commented 6 years ago

Done as of 74329fd0936ac5dbe3dba7df958489c1550af742