A repository for the paper "Modelling delays with primary Event Censored Distributions", which describes methods for handling double interval censored data in epidemiological delay distribution estimation.
paper/
: Contains the Quarto document for the manuscriptmain.qmd
: Main manuscriptsi.qmd
: Supplementary informationreference.bib
: Bibliography
_targets.Rmd
: Reproducible analysis pipeline (see below)R/
: Analysis functions used in the targets workflowscripts/
: R scripts for task automation and developmentdata/
: Data directory for raw, processed, and resultsfigures/
: Generated figures from the analysis
The analysis uses the targets
R package for reproducibility. The pipeline is defined in _targets.Rmd
.
Install Task from https://taskfile.dev/installation/, then run:
# Complete workflow (sets up dependencies + runs analysis + renders manuscript)
task
# Or step by step:
task restore # Restore R packages from lockfile
task render # Render _targets.Rmd to create pipeline
task run # Execute the targets pipeline
task manuscript # Render manuscript to PDF and HTML
The default task
command automatically handles the complete analysis pipeline.
Run task help
to see all available commands.
For configuration options and development workflows, see docs/DEVELOPMENT.md.