simulist
An R package for simulating line lists
simulist stopped simulating clean outbreaks and started simulating the mess real surveillance data arrives in.
◆Recent moves
- 6mo ago
JOSS paper corrections
A same-day follow-up to 0.7.0 containing only corrections to the JOSS paper text; the package itself is unchanged.
View source ↗ - 6mo ago
Weighted sex sampling and epiparameter objects for reporting delays
The release accompanying the JOSS publication. prob_male makes sex sampling weightable rather than uniform, and reporting_delay now accepts <epiparameter> objects like the other delay arguments, closing an inconsistency in the simulation interface.
View source ↗ - 11mo ago
censor_linelist() adds interval censoring and a weekend effect
Dates can now be grouped into daily, weekly or user-defined periods, with an option reproducing the low-reporting weekend pattern. The package also moves from experimental to stable here, signalling a settled API.
View source ↗ - 1y ago
Post-processing arrives: truncated snapshots and deliberately messy line lists
⚡ SPARKThe turn in the package's scope. truncate_linelist() produces real-time outbreak snapshots with right truncation, messy_linelist() injects the inconsistencies and missingness of empirical data, and a date_reporting column appears alongside a reporting_delay argument.
View source ↗ - 1y ago
Every sim_*() argument gains a default
sim_linelist() and its siblings can now be called with no arguments at all, and stop warning when *_risk arguments are left unset with onset_to_* set to NULL. Interface smoothing ahead of the scope expansion in 0.5.0.
View source ↗ - 2y ago
Infectious period replaces contact interval; time-varying fatality risk added
The simulation is reparameterised around an infectious period rather than a contact interval, line lists gain date_outcome and outcome columns driven by onset_to_death and onset_to_recovery, and case fatality risk can vary through time via a user-supplied function.
View source ↗