Closed thibautjombart closed 6 years ago
The following may make sense, x being an input incidence object:
x
incidence
incidence(sample(x$dates, size = x$n, replace = TRUE, prob = x$counts))
Done as of 74329fd0936ac5dbe3dba7df958489c1550af742
The following may make sense,
x
being an inputincidence
object:incidence(sample(x$dates, size = x$n, replace = TRUE, prob = x$counts))