{
  "_id": "6a10259aacfb0bcc41c8ecf9",
  "Package": "superspreading",
  "Title": "Understand Individual-Level Variation in Infectious Disease\nTransmission",
  "Version": "0.4.0.9000",
  "Authors@R": "c(\nperson(\"Joshua W.\", \"Lambert\", , \"joshua.lambert@lshtm.ac.uk\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-5218-3046\")),\nperson(\"Adam\", \"Kucharski\", , \"adam.kucharski@lshtm.ac.uk\", role = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-8814-9421\")),\nperson(\"Dillon C.\", \"Adam\", , \"dcadam@hku.hk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-7485-9905\")),\nperson(\"Sebastian\", \"Funk\", , \"sebastian.funk@lshtm.ac.uk\", role = c(\"ctb\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-2842-3406\", \".chain_sim uses code from bpmodels::chain_sim\")),\nperson(\"Pratik\", \"Gupte\", , \"pratik.gupte@lshtm.ac.uk\", role = \"rev\",\ncomment = c(ORCID = \"0000-0001-5294-7819\")),\nperson(\"Hugo\", \"Gruson\", , \"hugo@data.org\", role = \"rev\",\ncomment = c(ORCID = \"0000-0002-4094-1476\")),\nperson(\"James M.\", \"Azam\", , \"james.azam@lshtm.ac.uk\", role = c(\"rev\", \"ctb\"),\ncomment = c(ORCID = \"0000-0001-5782-7330\")),\nperson(\"Chris\", \"Hartgerink\", , \"chris@data.org\", role = \"rev\",\ncomment = c(ORCID = \"0000-0003-1050-6809\")),\nperson(\"London School of Hygiene and Tropical Medicine, LSHTM\", role = \"cph\",\ncomment = c(ROR = \"00a0jsq62\"))\n)",
  "Description": "Estimate and understand individual-level variation in\ntransmission. Implements density and cumulative compound\nPoisson discrete distribution functions (Kremer et al. (2021)\n<doi:10.1038/s41598-021-93578-x>), as well as functions to\ncalculate infectious disease outbreak statistics given\nepidemiological parameters on individual-level transmission;\nincluding the probability of an outbreak becoming an\nepidemic/extinct (Kucharski et al. (2020)\n<doi:10.1016/S1473-3099(20)30144-4>), or the cluster size\nstatistics, e.g. what proportion of cases cause X\\% of\ntransmission (Lloyd-Smith et al. (2005)\n<doi:10.1038/nature04153>).",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/epiverse-trace/superspreading,\nhttps://epiverse-trace.github.io/superspreading/",
  "BugReports": "https://github.com/epiverse-trace/superspreading/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "epiverse-trace/epiversetheme",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Repository": "https://epiverse-trace.r-universe.dev",
  "Date/Publication": "2026-04-13 09:08:26 UTC",
  "RemoteUrl": "https://github.com/epiverse-trace/superspreading",
  "RemoteRef": "HEAD",
  "RemoteSha": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 09:25:58 UTC",
    "User": "root"
  },
  "Author": "Joshua W. Lambert [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-5218-3046>),\nAdam Kucharski [aut, cph] (ORCID:\n<https://orcid.org/0000-0001-8814-9421>),\nDillon C. Adam [aut] (ORCID: <https://orcid.org/0000-0002-7485-9905>),\nSebastian Funk [ctb, cph] (ORCID:\n<https://orcid.org/0000-0002-2842-3406>, .chain_sim uses code from\nbpmodels::chain_sim),\nPratik Gupte [rev] (ORCID: <https://orcid.org/0000-0001-5294-7819>),\nHugo Gruson [rev] (ORCID: <https://orcid.org/0000-0002-4094-1476>),\nJames M. Azam [rev, ctb] (ORCID:\n<https://orcid.org/0000-0001-5782-7330>),\nChris Hartgerink [rev] (ORCID: <https://orcid.org/0000-0003-1050-6809>),\nLondon School of Hygiene and Tropical Medicine, LSHTM [cph] (ROR:\n<https://ror.org/00a0jsq62>)",
  "Maintainer": "Joshua W. Lambert <joshua.lambert@lshtm.ac.uk>",
  "MD5sum": "fa4211534ad14adbe0bfd2dfee34c83c",
  "_user": "epiverse-trace",
  "_type": "src",
  "_file": "superspreading_0.4.0.9000.tar.gz",
  "_fileid": "47724a1e6e247870792d300cded6fa23b2007db2fba932e7e3bddb1d4bddd406",
  "_filesize": 1609578,
  "_sha256": "47724a1e6e247870792d300cded6fa23b2007db2fba932e7e3bddb1d4bddd406",
  "_created": "2026-05-13T09:25:58.000Z",
  "_published": "2026-05-22T09:44:58.688Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77355234927,
      "time": 193,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966421546"
    },
    {
      "job": 77355235170,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966413559"
    },
    {
      "job": 77355235536,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966398447"
    },
    {
      "job": 77355235139,
      "time": 159,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966407158"
    },
    {
      "job": 77355234508,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966352275"
    },
    {
      "job": 77355234591,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157564527"
    },
    {
      "job": 77355235300,
      "time": 136,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966399424"
    },
    {
      "job": 77355235541,
      "time": 135,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966398386"
    },
    {
      "job": 77355235175,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966402347"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epiverse-trace/actions/runs/25790251948",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/epiverse-trace/superspreading",
  "_commit": {
    "id": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
    "author": "dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
    "committer": "Joshua Lambert <joshua.lambert@lshtm.ac.uk>",
    "message": "Bump codecov/codecov-action from 5 to 6\n\nBumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6.\n- [Release notes](https://github.com/codecov/codecov-action/releases)\n- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/codecov/codecov-action/compare/v5...v6)\n\n---\nupdated-dependencies:\n- dependency-name: codecov/codecov-action\n  dependency-version: '6'\n  dependency-type: direct:production\n  update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] <support@github.com>",
    "time": 1776071306
  },
  "_maintainer": {
    "name": "Joshua W. Lambert",
    "email": "joshua.lambert@lshtm.ac.uk",
    "login": "joshwlambert",
    "bluesky": "@jwlambert.bsky.social",
    "orcid": "0000-0001-5218-3046",
    "uuid": 46606402
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "epiparameter",
      "version": ">= 0.4.0",
      "role": "Suggests"
    },
    {
      "package": "fitdistrplus",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggtext",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "epiverse-trace",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 37
    },
    {
      "week": "2025-29",
      "n": 40
    },
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 16
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2025-07-16"
    }
  ],
  "_topics": [
    "disease-transmission",
    "epidemiology",
    "epiverse"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "joshwlambert",
      "count": 448,
      "uuid": 46606402
    },
    {
      "user": "adamkucharski",
      "count": 9,
      "uuid": 8329046
    },
    {
      "user": "bisaloo",
      "count": 3,
      "uuid": 10783929
    },
    {
      "user": "chartgerink",
      "count": 2,
      "uuid": 2946344
    },
    {
      "user": "dcadam",
      "count": 1,
      "uuid": 28914160
    }
  ],
  "_userbio": {
    "uuid": 101338582,
    "type": "organization",
    "name": "Epiverse-TRACE"
  },
  "_downloads": {
    "count": 222,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/superspreading"
  },
  "_devurl": "https://github.com/epiverse-trace/superspreading",
  "_pkgdown": "https://epiverse-trace.github.io/superspreading/",
  "_searchresults": 30,
  "_rbuild": "4.6.0",
  "_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/superspreading.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/epiverse-trace/superspreading",
  "_realowner": "epiverse-trace",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2025-01-27"
    },
    {
      "version": "0.4.0",
      "date": "2025-07-15"
    }
  ],
  "_exports": [
    "calc_network_R",
    "dpoislnorm",
    "dpoisweibull",
    "ic_tbl",
    "ppoislnorm",
    "ppoisweibull",
    "probability_contain",
    "probability_emergence",
    "probability_epidemic",
    "probability_extinct",
    "proportion_cluster_size",
    "proportion_transmission"
  ],
  "_help": [
    {
      "page": "calc_network_R",
      "title": "Calculate the reproduction number (R) for a (heterogeneous) network",
      "topics": [
        "calc_network_R"
      ]
    },
    {
      "page": "constants",
      "title": "Constants used in 'superspreading'",
      "topics": [
        "constants",
        "FINITE_INF",
        "NSIM"
      ]
    },
    {
      "page": "dpoislnorm",
      "title": "Density of the Poisson-lognormal compound distribution",
      "topics": [
        "dpoislnorm"
      ]
    },
    {
      "page": "dpoisweibull",
      "title": "Density of the Poisson-Weibull compound distribution",
      "topics": [
        "dpoisweibull"
      ]
    },
    {
      "page": "ic_tbl",
      "title": "Helper function to create a model comparison table",
      "topics": [
        "ic_tbl"
      ]
    },
    {
      "page": "ppoislnorm",
      "title": "Cumulative distribution function of the Poisson-lognormal compound distribution",
      "topics": [
        "ppoislnorm"
      ]
    },
    {
      "page": "ppoisweibull",
      "title": "Cumulative distribution function of the Poisson-Weibull compound distribution",
      "topics": [
        "ppoisweibull"
      ]
    },
    {
      "page": "probability_contain",
      "title": "Probability that an outbreak will be contained",
      "topics": [
        "probability_contain"
      ]
    },
    {
      "page": "probability_emergence",
      "title": "Calculate the probability a disease will emerge and cause a sustained outbreak (R > 1) based on R and initial cases",
      "topics": [
        "probability_emergence"
      ]
    },
    {
      "page": "probability_epidemic",
      "title": "Calculate the probability a disease will cause an outbreak based on R, k and initial cases",
      "topics": [
        "probability_epidemic"
      ]
    },
    {
      "page": "probability_extinct",
      "title": "Calculate the probability a branching process will go extinct based on R, k and initial cases",
      "topics": [
        "probability_extinct"
      ]
    },
    {
      "page": "proportion_cluster_size",
      "title": "Estimate what proportion of new cases originated within a transmission event of a given size",
      "topics": [
        "proportion_cluster_size"
      ]
    },
    {
      "page": "proportion_transmission",
      "title": "Estimate what proportion of cases cause a certain proportion of transmission",
      "topics": [
        "proportion_transmission"
      ]
    }
  ],
  "_pkglogo": "https://github.com/epiverse-trace/superspreading/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/epiverse-trace/superspreading/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "design-principles.Rmd",
      "filename": "design-principles.html",
      "title": "Design Principles for {superspreading}",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Scope",
        "Output",
        "Design decisions",
        "Dependencies",
        "Contribute"
      ],
      "created": "2023-12-14 12:36:18",
      "modified": "2025-07-15 13:30:00",
      "commits": 11
    },
    {
      "source": "epidemic_risk.Rmd",
      "filename": "epidemic_risk.html",
      "title": "Epidemic Risk",
      "engine": "knitr::rmarkdown",
      "headings": [
        "plot probability of epidemic across dispersion",
        "plot probability of epidemic across introductions",
        "plot probability of extinction across R for multiple k",
        "Controls on transmission",
        "plot probability of epidemic across introductions for multiple k"
      ],
      "created": "2023-06-13 12:30:43",
      "modified": "2025-07-15 15:09:30",
      "commits": 24
    },
    {
      "source": "estimate_individual_level_transmission.Rmd",
      "filename": "estimate_individual_level_transmission.html",
      "title": "Estimate individual-level transmission",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Transmission data",
        "Superspreading using alternative distributions",
        "References"
      ],
      "created": "2023-05-26 10:33:56",
      "modified": "2025-07-16 07:38:30",
      "commits": 27
    },
    {
      "source": "superspreading.Rmd",
      "filename": "superspreading.html",
      "title": "Getting started with {superspreading}",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Definition",
        "Probability of epidemic",
        "Empirical superspreading",
        "References"
      ],
      "created": "2023-05-18 15:10:21",
      "modified": "2025-07-15 13:30:00",
      "commits": 28
    },
    {
      "source": "proportion_transmission.Rmd",
      "filename": "proportion_transmission.html",
      "title": "Methods for calculating the proportion of transmission",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Definitions",
        "Exploring each method"
      ],
      "created": "2024-09-27 16:50:58",
      "modified": "2025-07-11 17:13:43",
      "commits": 9
    },
    {
      "source": "heterogeneous_network_outbreaks.Rmd",
      "filename": "heterogeneous_network_outbreaks.html",
      "title": "Outbreaks in heterogeneous networks",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-01-09 12:06:51",
      "modified": "2025-07-15 13:30:00",
      "commits": 15
    },
    {
      "source": "emergence.Rmd",
      "filename": "emergence.html",
      "title": "Pathogen evolution in the emergence of infectious disease outbreaks",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-07-11 11:13:09",
      "modified": "2025-07-15 13:24:47",
      "commits": 9
    }
  ],
  "_score": 7.1673173347481764,
  "_indexed": true,
  "_nocasepkg": "superspreading",
  "_universes": [
    "epiverse-trace",
    "joshwlambert"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0.9000",
      "date": "2026-05-13T09:28:41.000Z",
      "distro": "noble",
      "commit": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
      "fileid": "de260b6be428343ece6402cab2b74faf3c27ec98e2307c303e2eae8ecd7762d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-trace/actions/runs/25790251948"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0.9000",
      "date": "2026-05-13T09:28:19.000Z",
      "distro": "noble",
      "commit": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
      "fileid": "a5007f447e1d74f838432f91e4314cf8ed28d31b71a692a265c517f222463ad5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-trace/actions/runs/25790251948"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0.9000",
      "date": "2026-05-13T09:27:38.000Z",
      "commit": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
      "fileid": "babe7c6d19cf85bc6c53b41bf5696c19dbdae4feac5379fb33e2c043a84a489a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-trace/actions/runs/25790251948"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0.9000",
      "date": "2026-05-13T09:28:00.000Z",
      "commit": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
      "fileid": "2b05516ff3e558a7e5a19d28f3eb0d52ecfa8c30480fca179334eea3bbc90fd5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-trace/actions/runs/25790251948"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0.9000",
      "date": "2026-05-13T09:27:24.000Z",
      "commit": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
      "fileid": "f8025b800e0550ed61da040255367d1e49a26ae1e4dd532272ad5e8f3ff7456f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-trace/actions/runs/25790251948"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0.9000",
      "date": "2026-05-13T09:27:16.000Z",
      "commit": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
      "fileid": "a3064fcd71094818a5004c6c71e7ec0a69e591671732bb9fe5e53cbf72cf65a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-trace/actions/runs/25790251948"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0.9000",
      "date": "2026-05-13T09:27:28.000Z",
      "commit": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
      "fileid": "35a7c78a35dec149a9a4f459e9023c68484575b411e541b34bb77a0280a4264d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-trace/actions/runs/25790251948"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0.9000",
      "date": "2026-05-22T09:44:38.000Z",
      "commit": "e76d7b4101a3dd0f28909f42031f6563d39b8167",
      "fileid": "0a982ee32bc5b33577ad82f032fb62f2625ae6e210ea04aadb18c1081d2bc3aa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiverse-trace/actions/runs/25790251948"
    }
  ]
}