addBootstrappedObservations.RdGenerate a random set of observations from a poisson rate
addBootstrappedObservations( growthSimulation, bootstraps = 100, delayMean = 0, delaySd = 1, lastObservation = nrow(growthSimulation$ts) - 1 )
| growthSimulation | - the growth_simulation |
|---|---|
| bootstraps | - the number of generated bootstraps |
| delayMean | |
| delaySd | |
| lastObservation |
a growth_simulation with a time series including bootstrapped observations (as "value" column, bootstrap id in "subgroup")