{
  "_id": "6a48afc1e06c18f0a6546db5",
  "Package": "serodynamics",
  "Title": "Modeling Longitudinal Antibody Responses to Infection",
  "Version": "0.1.0.9006",
  "Authors@R": "c(\nperson(\"Peter\", \"Teunis\", , \"p.teunis@emory.edu\", role = c(\"aut\", \"cph\"),\ncomment = c(\"Author of the method and original code.\",\nORCID = \"0000-0003-1904-6044\")),\nperson(\"Samuel\", \"Schildhauer\", , \"sschildhauer@ucdavis.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7139-1086\")),\nperson(\"Kwan Ho\", \"Lee\", , \"ksjlee@ucdavis.edu\", role = \"aut\",\ncomment = c(ORCID = \"0009-0004-9723-2007\")),\nperson(\"Kristen\", \"Aiemjoy\", , \"kaiemjoy@ucdavis.edu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-1886-2699\")),\nperson(\"Douglas Ezra\", \"Morrison\", , \"demorrison@ucdavis.edu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-7195-830X\"))\n)",
  "Description": "Implements Bayesian hierarchical models for estimating\nantibody kinetic parameters from longitudinal serological data.\nFits two-phase within-host models capturing antibody rise,\npeak, and decay following pathogen infection, using 'JAGS' for\nposterior inference. Designed as the upstream companion to the\n'serocalculator' package for end-to-end seroepidemiological\nanalysis. Methods are described in Teunis and colleagues (2016)\n<doi:10.1016/j.epidem.2016.04.001> and Teunis and van Eijkeren\n(2020) <doi:10.1002/sim.8578>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://github.com/UCD-SERG/serodynamics,\nhttps://ucd-serg.github.io/serodynamics/",
  "BugReports": "https://github.com/UCD-SERG/serodynamics/issues",
  "SystemRequirements": "JAGS (>= 4.3.1)",
  "Language": "en-US",
  "Config/testthat/edition": "3",
  "Config/needs/test": "withr, vdiffr, here, readr, magrittr, rlist",
  "Config/needs/check": "commonmark, xml2",
  "LazyData": "true",
  "VignetteBuilder": "knitr, quarto",
  "Config/roxygen2/version": "8.0.0",
  "RoxygenNote": "8.0.0",
  "Config/pak/sysreqs": "make jags libicu-dev libssl-dev libx11-dev\nzlib1g-dev",
  "Repository": "https://ucd-serg.r-universe.dev",
  "Date/Publication": "2026-07-04 04:48:11 UTC",
  "RemoteUrl": "https://github.com/ucd-serg/serodynamics",
  "RemoteRef": "HEAD",
  "RemoteSha": "1f6171810855483f1cd5882f48b44a2a3ae45829",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-04 06:26:32 UTC",
    "User": "root"
  },
  "Author": "Peter Teunis [aut, cph] (Author of the method and original code.,\nORCID: <https://orcid.org/0000-0003-1904-6044>),\nSamuel Schildhauer [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7139-1086>),\nKwan Ho Lee [aut] (ORCID: <https://orcid.org/0009-0004-9723-2007>),\nKristen Aiemjoy [aut] (ORCID: <https://orcid.org/0000-0003-1886-2699>),\nDouglas Ezra Morrison [aut] (ORCID:\n<https://orcid.org/0000-0002-7195-830X>)",
  "Maintainer": "Samuel Schildhauer <sschildhauer@ucdavis.edu>",
  "_user": "ucd-serg",
  "_type": "src",
  "_file": "serodynamics_0.1.0.9006.tar.gz",
  "_fileid": "https://r2.ropensci.org/3c55b25a91713b4f68b481387d76d487f50fcc6a159b00a995be23d1ce9a7e95",
  "_filesize": 5879919,
  "_sha256": "3c55b25a91713b4f68b481387d76d487f50fcc6a159b00a995be23d1ce9a7e95",
  "_expires": "2026-10-12T07:01:18.000Z",
  "_created": "2026-07-04T06:26:32.000Z",
  "_published": "2026-07-04T07:01:20.897Z",
  "_jobs": [
    {
      "job": 85110117107,
      "time": 270,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079156220"
    },
    {
      "job": 85110117118,
      "time": 325,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079163937"
    },
    {
      "job": 85110117087,
      "time": 197,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079359526"
    },
    {
      "job": 85110117120,
      "time": 264,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079370442"
    },
    {
      "job": 85109888689,
      "time": 218,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079123577"
    },
    {
      "job": 85110117082,
      "time": 175,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8079145032"
    },
    {
      "job": 85110117148,
      "time": 293,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079159493"
    },
    {
      "job": 85110117133,
      "time": 297,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079160060"
    },
    {
      "job": 85110117136,
      "time": 307,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079161531"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ucd-serg/actions/runs/28697590981",
  "_status": "success",
  "_upstream": "https://github.com/ucd-serg/serodynamics",
  "_commit": {
    "id": "1f6171810855483f1cd5882f48b44a2a3ae45829",
    "author": "Douglas Ezra Morrison <demorrison@ucdavis.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #263 from UCD-SERG/claude/roxygen-reuse-patterns-f5shid\n\nIdiomatic-code review focus: add roxygen doc-reuse / ... passthrough item",
    "time": 1783140491
  },
  "_maintainer": {
    "name": "Samuel Schildhauer",
    "email": "sschildhauer@ucdavis.edu",
    "login": "sschildhauer",
    "orcid": "0000-0001-7139-1086",
    "description": "",
    "uuid": 165851188
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggmcmc",
      "version": ">= 1.5.1.2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "runjags",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "serocalculator",
      "version": ">= 1.4.1",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "rlist",
      "role": "Suggests"
    },
    {
      "package": "sessioninfo",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "fs",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "rjags",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "rex",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    }
  ],
  "_owner": "ucd-serg",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 2
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 2
    },
    {
      "week": "2025-33",
      "n": 2
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 16
    },
    {
      "week": "2026-19",
      "n": 3
    },
    {
      "week": "2026-20",
      "n": 7
    },
    {
      "week": "2026-21",
      "n": 7
    },
    {
      "week": "2026-22",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 2
    },
    {
      "week": "2026-25",
      "n": 3
    },
    {
      "week": "2026-26",
      "n": 3
    },
    {
      "week": "2026-27",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-05-28"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "sschildhauer",
      "count": 946,
      "uuid": 165851188
    },
    {
      "user": "d-morrison",
      "count": 713,
      "uuid": 2474437
    },
    {
      "user": "kwan-jenny",
      "count": 195,
      "uuid": 68584166
    },
    {
      "user": "copilot",
      "count": 131,
      "uuid": 198982749
    },
    {
      "user": "kaiemjoy",
      "count": 38,
      "uuid": 16113030
    },
    {
      "user": "claude",
      "count": 12,
      "uuid": 81847
    },
    {
      "user": "dem-ucdh",
      "count": 3,
      "uuid": 253661458
    }
  ],
  "_userbio": {
    "uuid": 102623664,
    "type": "organization",
    "name": "UC Davis Seroepidemiology Research Group (SeRG)",
    "followers": 6
  },
  "_downloads": {
    "count": 478,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/serodynamics"
  },
  "_devurl": "https://github.com/ucd-serg/serodynamics",
  "_pkgdown": "https://ucd-serg.github.io/serodynamics/",
  "_searchresults": 8,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/serodynamics.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ucd-serg/serodynamics",
  "_realowner": "ucd-serg",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-02"
    }
  ],
  "_exports": [
    "as_case_data",
    "autoplot",
    "expect_snapshot_data",
    "get_biomarker_levels",
    "get_biomarker_names_var",
    "initsfunction",
    "load_data",
    "plot_density",
    "plot_ess",
    "plot_predicted_curve",
    "plot_rhat",
    "plot_trace",
    "postprocess_jags_output",
    "prep_data",
    "prep_priors",
    "run_mod",
    "run_serodynamics",
    "serodynamics_example",
    "sim_case_data",
    "sim_n_obs",
    "summarize_posterior"
  ],
  "_datasets": [
    {
      "name": "nepal_sees",
      "title": "SEES Typhoid data",
      "object": "nepal_sees",
      "class": [
        "case_data",
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Country",
        "id",
        "sample_id",
        "bldculres",
        "antigen_iso",
        "studyvisit",
        "dayssincefeveronset",
        "result",
        "visit_num"
      ],
      "rows": 904,
      "table": true,
      "tojson": true
    },
    {
      "name": "nepal_sees_jags_output",
      "title": "SEES Typhoid run_serodynamics jags output",
      "object": "nepal_sees_jags_output",
      "class": [
        "sr_model",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Iteration",
        "Chain",
        "Parameter",
        "Iso_type",
        "Stratification",
        "Subject",
        "value"
      ],
      "rows": 70000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_case_data",
      "title": "Convert data into 'case_data'",
      "topics": [
        "as_case_data"
      ]
    },
    {
      "page": "autoplot.case_data",
      "title": "Plot case data",
      "topics": [
        "autoplot.case_data"
      ]
    },
    {
      "page": "initsfunction",
      "title": "JAGS chain initialization function",
      "topics": [
        "initsfunction"
      ]
    },
    {
      "page": "load_data",
      "title": "load and format data",
      "topics": [
        "load_data"
      ]
    },
    {
      "page": "nepal_sees",
      "title": "SEES Typhoid data",
      "topics": [
        "nepal_sees"
      ]
    },
    {
      "page": "nepal_sees_jags_output",
      "title": "SEES Typhoid run_serodynamics jags output",
      "topics": [
        "nepal_sees_jags_output"
      ]
    },
    {
      "page": "plot_density",
      "title": "Density Plot Diagnostics",
      "topics": [
        "plot_density"
      ]
    },
    {
      "page": "plot_ess",
      "title": "Plot Effective Sample Size Diagnostics",
      "topics": [
        "plot_ess"
      ]
    },
    {
      "page": "plot_predicted_curve",
      "title": "Generate Predicted Antibody Response Curves (Median + 95% CI)",
      "topics": [
        "plot_predicted_curve"
      ]
    },
    {
      "page": "plot_rhat",
      "title": "Rhat Plot Diagnostics",
      "topics": [
        "plot_rhat"
      ]
    },
    {
      "page": "plot_trace",
      "title": "Trace Plot Diagnostics",
      "topics": [
        "plot_trace"
      ]
    },
    {
      "page": "postprocess_jags_output",
      "title": "Postprocess JAGS output",
      "topics": [
        "postprocess_jags_output"
      ]
    },
    {
      "page": "prep_data",
      "title": "prepare data for JAGs",
      "topics": [
        "prep_data"
      ]
    },
    {
      "page": "prep_priors",
      "title": "Prepare priors",
      "topics": [
        "prep_priors"
      ]
    },
    {
      "page": "run_serodynamics",
      "title": "Run Jags Model",
      "topics": [
        "run_serodynamics"
      ]
    },
    {
      "page": "serodynamics_example",
      "title": "Get path to an example file",
      "topics": [
        "serodynamics_example"
      ]
    },
    {
      "page": "sim_case_data",
      "title": "Simulate longitudinal case follow-up data from a homogeneous population",
      "topics": [
        "sim_case_data"
      ]
    },
    {
      "page": "summarize_posterior",
      "title": "Summary Table of Jags Posterior Estimates",
      "topics": [
        "summarize_posterior"
      ]
    }
  ],
  "_readme": "https://github.com/ucd-serg/serodynamics/raw/HEAD/README.md",
  "_rundeps": [
    "and",
    "bit",
    "bit64",
    "cli",
    "clipr",
    "coda",
    "codetools",
    "cpp11",
    "crayon",
    "digest",
    "doParallel",
    "dplyr",
    "farver",
    "forcats",
    "foreach",
    "generics",
    "GGally",
    "ggmcmc",
    "ggplot2",
    "ggstats",
    "glue",
    "gtable",
    "haven",
    "hms",
    "isoband",
    "iterators",
    "labeling",
    "labelled",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "patchwork",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "rlang",
    "rngtools",
    "runjags",
    "S7",
    "scales",
    "serocalculator",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2604.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "dobson.Rmd",
      "filename": "dobson.html",
      "title": "dobson",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-02-17 08:36:04",
      "modified": "2025-02-18 06:37:22",
      "commits": 2
    }
  ],
  "_score": 6.232996110392154,
  "_indexed": true,
  "_nocasepkg": "serodynamics",
  "_universes": [
    "ucd-serg",
    "sschildhauer"
  ],
  "_previous": "0.1.0.9005",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9006",
      "date": "2026-07-04T06:29:12.000Z",
      "distro": "resolute",
      "commit": "1f6171810855483f1cd5882f48b44a2a3ae45829",
      "fileid": "https://r2.ropensci.org/4ad87e372782cae911b5ecce493c55b2dac9eb8bd74118e6debabba28626ff19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucd-serg/actions/runs/28697590981"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9006",
      "date": "2026-07-04T06:29:28.000Z",
      "distro": "resolute",
      "commit": "1f6171810855483f1cd5882f48b44a2a3ae45829",
      "fileid": "https://r2.ropensci.org/ce41d721bf44cbc272b98e186e89a0bef477f68ac782368ae04140ee59e382eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucd-serg/actions/runs/28697590981"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9006",
      "date": "2026-07-04T06:57:23.000Z",
      "commit": "1f6171810855483f1cd5882f48b44a2a3ae45829",
      "fileid": "https://r2.ropensci.org/0829bfd5f65c5f31193e0bb1875bf8aef8c5671bb738e40efc0ea7dcc1426eb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucd-serg/actions/runs/28697590981"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9006",
      "date": "2026-07-04T06:58:05.000Z",
      "commit": "1f6171810855483f1cd5882f48b44a2a3ae45829",
      "fileid": "https://r2.ropensci.org/bf34968c4aea34bfee6c32aa324ef9801e171be70d530d88514ae85466b0bc05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucd-serg/actions/runs/28697590981"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9006",
      "date": "2026-07-04T06:29:54.000Z",
      "commit": "1f6171810855483f1cd5882f48b44a2a3ae45829",
      "fileid": "https://r2.ropensci.org/bd702edabe64be6bedb4d72ee7c1016e0b91a4bd02906d295c51d731856e0577",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ucd-serg/actions/runs/28697590981"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9006",
      "date": "2026-07-04T06:28:08.000Z",
      "commit": "1f6171810855483f1cd5882f48b44a2a3ae45829",
      "fileid": "https://r2.ropensci.org/20f7e0e8484ba7136bb1852c627da95a27318e996da5ff1abc5c62219583bb97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucd-serg/actions/runs/28697590981"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9006",
      "date": "2026-07-04T06:28:09.000Z",
      "commit": "1f6171810855483f1cd5882f48b44a2a3ae45829",
      "fileid": "https://r2.ropensci.org/fed109e8b8e0f51d6aec849a1c9d14a058131aba0372b3a009583aa53fdb74a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucd-serg/actions/runs/28697590981"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9006",
      "date": "2026-07-04T06:28:26.000Z",
      "commit": "1f6171810855483f1cd5882f48b44a2a3ae45829",
      "fileid": "https://r2.ropensci.org/3f720a494184f8b3b6f308abeb5dc1fd45ecc603f4250e05ea194d1ddd10bbe2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucd-serg/actions/runs/28697590981"
    }
  ]
}