serodynamics: Modeling Longitudinal Antibody Responses to Infection

Implements Bayesian hierarchical models for estimating antibody kinetic parameters from longitudinal serological data. Fits two-phase within-host models capturing antibody rise, peak, and decay following pathogen infection, using 'JAGS' for posterior inference. Designed as the upstream companion to the 'serocalculator' package for end-to-end seroepidemiological analysis. Methods are described in Teunis and colleagues (2016) <doi:10.1016/j.epidem.2016.04.001> and Teunis and van Eijkeren (2020) <doi:10.1002/sim.8578>.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: cli, coda, dplyr, ggmcmc (≥ 1.5.1.2), ggplot2, purrr, rlang, runjags, scales, serocalculator (≥ 1.4.1), stats, tibble, tidyr, tidyselect, utils
Suggests: Hmisc, knitr, readr, rlist, sessioninfo, spelling, stringr, testthat (≥ 3.0.0), tidyverse, withr, vdiffr, fs, here, rjags, rmarkdown, magrittr, rex, quarto
Published: 2026-06-02
DOI: 10.32614/CRAN.package.serodynamics (may not be active yet)
Author: Peter Teunis ORCID iD [aut, cph] (Author of the method and original code.), Samuel Schildhauer ORCID iD [aut, cre], Kwan Ho Lee ORCID iD [aut], Kristen Aiemjoy ORCID iD [aut], Douglas Ezra Morrison ORCID iD [aut]
Maintainer: Samuel Schildhauer <sschildhauer at ucdavis.edu>
BugReports: https://github.com/UCD-SERG/serodynamics/issues
License: MIT + file LICENSE
URL: https://github.com/UCD-SERG/serodynamics, https://ucd-serg.github.io/serodynamics/
NeedsCompilation: no
SystemRequirements: JAGS (>= 4.3.1)
Language: en-US
Materials: README, NEWS
CRAN checks: serodynamics results

Documentation:

Reference manual: serodynamics.html , serodynamics.pdf
Vignettes: dobson (source, R code)

Downloads:

Package source: serodynamics_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): serodynamics_0.1.0.tgz, r-oldrel (arm64): serodynamics_0.1.0.tgz, r-release (x86_64): serodynamics_0.1.0.tgz, r-oldrel (x86_64): serodynamics_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=serodynamics to link to this page.