{
  "_id": "6a49ba9edbd0482285eb7c8d",
  "Package": "chainbinomial",
  "Type": "Package",
  "Title": "Chain Binomial Models for Analysis of Infectious Disease Data",
  "Version": "0.1.10",
  "Authors@R": "person(given = \"Jonas Christoffer\",\nfamily = \"Lindstrøm\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jonaslindstrom88@gmail.com\")",
  "Maintainer": "Jonas Christoffer Lindstrøm <jonaslindstrom88@gmail.com>",
  "Description": "Implements the chain binomial model for analysis of\ninfectious disease data. Contains functions for calculating\nprobabilities of the final size of infectious disease outbreaks\nusing the method from D. Ludwig (1975)\n<doi:10.1016/0025-5564(75)90119-4> and for outbreaks that are\nnot concluded, from Lindstrøm et al. (2024)\n<doi:10.48550/arXiv.2403.03948>. The package also contains\nmethods for estimation and regression analysis of secondary\nattack rates.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://opisthokonta.r-universe.dev",
  "Date/Publication": "2026-05-27 13:41:28 UTC",
  "RemoteUrl": "https://github.com/opisthokonta/chainbinomial",
  "RemoteRef": "HEAD",
  "RemoteSha": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-05 01:57:15 UTC",
    "User": "root"
  },
  "Author": "Jonas Christoffer Lindstrøm [aut, cre]",
  "_user": "opisthokonta",
  "_type": "src",
  "_file": "chainbinomial_0.1.10.tar.gz",
  "_fileid": "https://r2.ropensci.org/ebb57e119c5d0cb10953efd6657fede6bf0c413b83b01b3ab9b91e679030b3e2",
  "_filesize": 187984,
  "_sha256": "ebb57e119c5d0cb10953efd6657fede6bf0c413b83b01b3ab9b91e679030b3e2",
  "_expires": "2026-10-13T01:59:57.000Z",
  "_created": "2026-07-05T01:57:15.000Z",
  "_published": "2026-07-05T01:59:58.496Z",
  "_jobs": [
    {
      "job": 85184174163,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8087386288"
    },
    {
      "job": 85184174165,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087386675"
    },
    {
      "job": 85184174182,
      "time": 73,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8087380667"
    },
    {
      "job": 85184174197,
      "time": 68,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087380213"
    },
    {
      "job": 85184011918,
      "time": 169,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087372495"
    },
    {
      "job": 85184174160,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8087384012"
    },
    {
      "job": 85184174164,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8087381562"
    },
    {
      "job": 85184174174,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8087380998"
    },
    {
      "job": 85184174173,
      "time": 78,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087381285"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/opisthokonta/actions/runs/28726218793",
  "_status": "success",
  "_upstream": "https://github.com/opisthokonta/chainbinomial",
  "_commit": {
    "id": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
    "author": "Jonas Christoffer Lindstrøm <JonasChristoffer.Lindstrom@fhi.no>",
    "committer": "Jonas Christoffer Lindstrøm <JonasChristoffer.Lindstrom@fhi.no>",
    "message": "import lifecycle\n",
    "time": 1779889288
  },
  "_maintainer": {
    "name": "Jonas Christoffer Lindstrøm",
    "email": "jonaslindstrom88@gmail.com",
    "login": "opisthokonta",
    "twitter": "@opisthokonta",
    "description": "",
    "uuid": 6104264
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "version": ">= 2016.8-1.1",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.3",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "opisthokonta",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "opisthokonta",
      "count": 4,
      "uuid": 6104264
    }
  ],
  "_userbio": {
    "uuid": 6104264,
    "type": "user",
    "name": "Jonas",
    "followers": 69
  },
  "_downloads": {
    "count": 197,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chainbinomial"
  },
  "_devurl": "https://github.com/opisthokonta/chainbinomial",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/chainbinomial.html",
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/opisthokonta/chainbinomial",
  "_realowner": "opisthokonta",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.5",
      "date": "2024-05-27"
    }
  ],
  "_exports": [
    "cbmod",
    "dcbhyper",
    "dchainbinom",
    "dchainbinom2",
    "ecbhyper",
    "echainbinom",
    "echainbinom2",
    "estimate_sar",
    "estimate_sar_cbhyper",
    "glance",
    "pchainbinom",
    "pchainbinom2",
    "rchainbinom",
    "tidy",
    "varchainbinom",
    "varchainbinom2"
  ],
  "_datasets": [
    {
      "name": "heasman_reid_1961_chains",
      "title": "Common Cold Data",
      "object": "heasman_reid_1961_chains",
      "class": [
        "data.frame"
      ],
      "fields": [
        "chain",
        "n"
      ],
      "rows": 24,
      "table": true,
      "tojson": true
    },
    {
      "name": "heasman_reid_1961_crowding",
      "title": "Common Cold Data",
      "object": "heasman_reid_1961_crowding",
      "class": [
        "data.frame"
      ],
      "fields": [
        "furter_cases",
        "overcrowding",
        "crowded",
        "uncrowded"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "heasman_reid_1961_intro_case_status",
      "title": "Common Cold Data",
      "object": "heasman_reid_1961_intro_case_status",
      "class": [
        "data.frame"
      ],
      "fields": [
        "furter_cases",
        "father",
        "mother",
        "school_child",
        "pre_school_child"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cbmod",
      "title": "Fitting models for the Transmission Probability with Chain Binomial response",
      "topics": [
        "cbmod"
      ]
    },
    {
      "page": "coef.cbmod",
      "title": "Extract Model Coefficient for cbmod Fits",
      "topics": [
        "coef.cbmod"
      ]
    },
    {
      "page": "confint.cbmod",
      "title": "Confidence intervals for cbmod Object.",
      "topics": [
        "confint.cbmod"
      ]
    },
    {
      "page": "confint.sar",
      "title": "Confidence intervals for sar Object.",
      "topics": [
        "confint.sar"
      ]
    },
    {
      "page": "confint.sar2",
      "title": "Confidence intervals for sar2 Object.",
      "topics": [
        "confint.sar2"
      ]
    },
    {
      "page": "dcbhyper",
      "title": "The Hyper Chain Binomial distribution",
      "topics": [
        "dcbhyper",
        "ecbhyper"
      ]
    },
    {
      "page": "dchainbinom",
      "title": "The Chain Binomial distribution",
      "topics": [
        "dchainbinom",
        "dchainbinom2",
        "echainbinom",
        "echainbinom2",
        "pchainbinom",
        "pchainbinom2",
        "rchainbinom",
        "varchainbinom",
        "varchainbinom2"
      ]
    },
    {
      "page": "estimate_sar",
      "title": "Estimate Transmission Probability of the Chain Binomial Model",
      "topics": [
        "estimate_sar"
      ]
    },
    {
      "page": "estimate_sar_cbhyper",
      "title": "Estimate Secondary Attack Rate of the Hyper Chain Binomial Model",
      "topics": [
        "estimate_sar_cbhyper"
      ]
    },
    {
      "page": "glance.cbmod",
      "title": "Glance at a cbmod object",
      "topics": [
        "glance.cbmod"
      ]
    },
    {
      "page": "heasman_reid_1961",
      "title": "Common Cold Data",
      "topics": [
        "heasman_reid_1961",
        "heasman_reid_1961_chains",
        "heasman_reid_1961_crowding",
        "heasman_reid_1961_intro_case_status"
      ]
    },
    {
      "page": "predict.cbmod",
      "title": "Predict Method for cbmod Fits",
      "topics": [
        "predict.cbmod"
      ]
    },
    {
      "page": "residuals.cbmod",
      "title": "Extract Model Residuals for cbmod Fits",
      "topics": [
        "residuals.cbmod"
      ]
    },
    {
      "page": "summary.cbmod",
      "title": "Summary of cbmod Object.",
      "topics": [
        "summary.cbmod"
      ]
    },
    {
      "page": "tidy.cbmod",
      "title": "Tidy a cbmod object",
      "topics": [
        "tidy.cbmod"
      ]
    },
    {
      "page": "vcov.cbmod",
      "title": "Variance-Covariance Matrix of cbmod Object.",
      "topics": [
        "vcov.cbmod"
      ]
    }
  ],
  "_readme": "https://github.com/opisthokonta/chainbinomial/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "generics",
    "lifecycle",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "chain_glm.Rmd",
      "filename": "chain_glm.html",
      "title": "Analyzing chain data with glm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The data",
        "Data processing",
        "Binomial log-linear models",
        "Fitting the model",
        "Analysis of final outbreak size",
        "Other models for the escape probability",
        "Becker's general model",
        "References"
      ],
      "created": "2024-05-14 07:48:42",
      "modified": "2026-05-27 12:32:29",
      "commits": 4
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to the chainbinomial package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Chain Binomial model",
        "The final Chain Binomial count probabilities",
        "The incomplete Chain Binomial count probabilities",
        "Estimating the transmission probability",
        "Regression model",
        "References"
      ],
      "created": "2024-05-02 12:53:03",
      "modified": "2026-05-27 12:32:29",
      "commits": 4
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "chainbinomial",
  "_universes": [
    "opisthokonta"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-07-05T01:59:18.000Z",
      "distro": "resolute",
      "commit": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
      "fileid": "https://r2.ropensci.org/ba135ed85a1f8ad4e4b8a1b372427da9d8fe1d6f5159162b6152a71f980dd95b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/opisthokonta/actions/runs/28726218793"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-07-05T01:59:22.000Z",
      "distro": "resolute",
      "commit": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
      "fileid": "https://r2.ropensci.org/a6bf0e76af24b59d9497cadba1df42e3380f08d57776df8d33d85b2d6af9e770",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/opisthokonta/actions/runs/28726218793"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-07-05T01:58:32.000Z",
      "commit": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
      "fileid": "https://r2.ropensci.org/06779a5fde4848ef5c0c499359ef5ff2812dd109051ac5778d9513a73e1d0bb8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/opisthokonta/actions/runs/28726218793"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-07-05T01:58:28.000Z",
      "commit": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
      "fileid": "https://r2.ropensci.org/17c3679775c0e6d80d5d0d9fe13f411f940264fefd472a83b0f4adad4c194116",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/opisthokonta/actions/runs/28726218793"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-07-05T01:59:15.000Z",
      "commit": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
      "fileid": "https://r2.ropensci.org/e91836585fe952315aadaaec728f75a2e1c28676aa96bf851daf1941f059dfd6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/opisthokonta/actions/runs/28726218793"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-07-05T01:58:27.000Z",
      "commit": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
      "fileid": "https://r2.ropensci.org/1097e3a210aca5951819ccb926db25f7793acdb1e4e9535a9e200c29f67e34ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/opisthokonta/actions/runs/28726218793"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-07-05T01:58:23.000Z",
      "commit": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
      "fileid": "https://r2.ropensci.org/d7861360c00ae300b916a489c21bc35c97a770e8cfb05f4210ca776597bf1756",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/opisthokonta/actions/runs/28726218793"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-07-05T01:58:25.000Z",
      "commit": "c4d49304e66c23e2b47623b5be9f753bcb5331ac",
      "fileid": "https://r2.ropensci.org/8d8c56d9d6e03db89ed77e361516e238f8a03c0d2846813b0c9ec5901ed537f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/opisthokonta/actions/runs/28726218793"
    }
  ]
}