{
  "_id": "6ac89d37de46216d5edd4916",
  "Package": "epibyhand",
  "Type": "Package",
  "Title": "Worked Derivations for Classical Epidemiological Measures",
  "Version": "0.2.0",
  "Authors@R": "person(\"Raj\", \"Subedi\", email = \"rajsubediresearch@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Computes classical epidemiological measures and returns\nthe complete worked derivation alongside the result: every\nintermediate quantity, the formula, and the formula with the\nobserved numbers substituted in. Intended for teaching, for\nchecking hand calculations, and for generating worked solutions\nin course materials. Scope is deliberately limited to methods a\nstudent can compute by hand on paper. Methods follow Mantel and\nHaenszel (1959) <doi:10.1093/jnci/22.4.719>, Greenland and\nRobins (1985, Biometrics 41, 55-68), Robins, Breslow and\nGreenland (1986, Biometrics 42, 311-323), and Breslow and Day\n(1980, IARC Scientific Publications No. 32).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://github.com/rajsubediresearch/epibyhand",
  "BugReports": "https://github.com/rajsubediresearch/epibyhand/issues",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://rajsubediresearch.r-universe.dev",
  "Date/Publication": "2026-09-08 22:55:54 UTC",
  "RemoteUrl": "https://github.com/rajsubediresearch/epibyhand",
  "RemoteRef": "HEAD",
  "RemoteSha": "8007bb0c13515458861174552090337e20111433",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 07:48:27 UTC",
    "User": "root"
  },
  "Author": "Raj Subedi [aut, cre]",
  "Maintainer": "Raj Subedi <rajsubediresearch@gmail.com>",
  "_user": "rajsubediresearch",
  "_type": "src",
  "_file": "epibyhand_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/f70a27ccce44f55ce5c96a58f7693a85cb09753545e12ba4668ac491fd211e42",
  "_filesize": 172781,
  "_sha256": "f70a27ccce44f55ce5c96a58f7693a85cb09753545e12ba4668ac491fd211e42",
  "_expires": "2027-01-17T07:52:21.000Z",
  "_created": "2026-10-09T07:48:27.000Z",
  "_published": "2026-10-09T07:52:23.109Z",
  "_buildurl": "https://github.com/r-universe/rajsubediresearch/actions/runs/37900897541",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113723815194,
      "time": 104,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11602107407"
    },
    {
      "job": 113723815077,
      "time": 100,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11601878170"
    },
    {
      "job": 113723815179,
      "time": 197,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11602393178"
    },
    {
      "job": 113723815142,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11602163663"
    },
    {
      "job": 113723074391,
      "time": 138,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11601997368"
    },
    {
      "job": 113723815147,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11602348137"
    },
    {
      "job": 113723815153,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11602971201"
    },
    {
      "job": 113723815091,
      "time": 63,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11602961088"
    },
    {
      "job": 113723815168,
      "time": 62,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11601803737"
    }
  ],
  "_upstream": "https://github.com/rajsubediresearch/epibyhand",
  "_commit": {
    "id": "8007bb0c13515458861174552090337e20111433",
    "author": "rajsubediresearch <rajsubedi.research@gmail.com>",
    "committer": "rajsubediresearch <rajsubedi.research@gmail.com>",
    "message": "0.2.0: add predictive_value(), fix confint level handling and step labels\n",
    "time": 1788908154
  },
  "_maintainer": {
    "name": "Raj Subedi",
    "email": "rajsubediresearch@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "rajsubediresearch",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-31",
      "n": 7
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-37",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-08-05"
    },
    {
      "name": "v0.2.0",
      "date": "2026-09-08"
    }
  ],
  "_topics": [
    "attributable-fraction",
    "biostatistics",
    "epidemiology",
    "mantel-haenszel",
    "odds-ratio",
    "public-health",
    "statistics-education",
    "teaching"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "web-epi",
      "count": 9,
      "uuid": 17189650
    },
    {
      "user": "rajsubediresearch",
      "count": 1,
      "uuid": 277586386
    }
  ],
  "_userbio": {
    "uuid": 277586386,
    "type": "user",
    "name": "Raj Subedi",
    "followers": 6,
    "description": "Epidemiology, Biostatistics, Research Methods"
  },
  "_downloads": {
    "count": 274,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/epibyhand"
  },
  "_devurl": "https://github.com/rajsubediresearch/epibyhand",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/epibyhand.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/rajsubediresearch/epibyhand",
  "_realowner": "rajsubediresearch",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-08-05"
    },
    {
      "version": "0.2.0",
      "date": "2026-09-09"
    }
  ],
  "_exports": [
    "attributable_fraction",
    "check_work",
    "collapse_strata",
    "derivation",
    "derivation_step",
    "epi_strata",
    "epi2x2",
    "estimate",
    "homogeneity",
    "mh_odds_ratio",
    "mh_risk_ratio",
    "odds_ratio",
    "predictive_value",
    "risk_difference",
    "risk_ratio",
    "steps_table"
  ],
  "_help": [
    {
      "page": "attributable_fraction",
      "title": "Attributable fraction, with worked derivation",
      "topics": [
        "attributable_fraction"
      ]
    },
    {
      "page": "check_work",
      "title": "Check a hand calculation against a derivation",
      "topics": [
        "check_work"
      ]
    },
    {
      "page": "collapse_strata",
      "title": "Collapse strata into a single 2 x 2 table",
      "topics": [
        "collapse_strata"
      ]
    },
    {
      "page": "confint.epibyhand_derivation",
      "title": "Extract the confidence interval from a derivation",
      "topics": [
        "confint.epibyhand_derivation"
      ]
    },
    {
      "page": "derivation",
      "title": "Create a derivation object",
      "topics": [
        "derivation"
      ]
    },
    {
      "page": "derivation_step",
      "title": "Create one step of a derivation",
      "topics": [
        "derivation_step"
      ]
    },
    {
      "page": "epi_strata",
      "title": "Build a set of stratified 2 x 2 tables",
      "topics": [
        "epi_strata"
      ]
    },
    {
      "page": "epi2x2",
      "title": "Build a 2 x 2 table",
      "topics": [
        "epi2x2"
      ]
    },
    {
      "page": "estimate",
      "title": "Extract the point estimate from a derivation",
      "topics": [
        "estimate"
      ]
    },
    {
      "page": "homogeneity",
      "title": "Breslow-Day test of homogeneity, with worked derivation",
      "topics": [
        "homogeneity"
      ]
    },
    {
      "page": "mh_odds_ratio",
      "title": "Mantel-Haenszel odds ratio with worked derivation",
      "topics": [
        "mh_odds_ratio"
      ]
    },
    {
      "page": "mh_risk_ratio",
      "title": "Mantel-Haenszel risk ratio with worked derivation",
      "topics": [
        "mh_risk_ratio"
      ]
    },
    {
      "page": "odds_ratio",
      "title": "Odds ratio with worked derivation",
      "topics": [
        "odds_ratio"
      ]
    },
    {
      "page": "predictive_value",
      "title": "Predictive value of a diagnostic test, with worked derivation",
      "topics": [
        "predictive_value"
      ]
    },
    {
      "page": "print.epi_strata",
      "title": "Print stratified tables",
      "topics": [
        "print.epi_strata"
      ]
    },
    {
      "page": "print.epi2x2",
      "title": "Print a 2 x 2 table with margins",
      "topics": [
        "print.epi2x2"
      ]
    },
    {
      "page": "print.epibyhand_derivation",
      "title": "Print a worked derivation",
      "topics": [
        "print.epibyhand_derivation"
      ]
    },
    {
      "page": "risk_difference",
      "title": "Risk difference with worked derivation",
      "topics": [
        "risk_difference"
      ]
    },
    {
      "page": "risk_ratio",
      "title": "Risk ratio with worked derivation",
      "topics": [
        "risk_ratio"
      ]
    },
    {
      "page": "steps_table",
      "title": "Return the steps of a derivation as a data frame",
      "topics": [
        "steps_table"
      ]
    }
  ],
  "_readme": "https://github.com/rajsubediresearch/epibyhand/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "epibyhand.Rmd",
      "filename": "epibyhand.html",
      "title": "Working through a confounded analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The data",
        "The crude analysis",
        "Age",
        "Pooling",
        "Was pooling legitimate?",
        "Attributable fractions",
        "Checking a hand calculation",
        "Building problem sets",
        "Predictive values",
        "Scope"
      ],
      "created": "2026-07-27 17:32:18",
      "modified": "2026-09-08 22:55:54",
      "commits": 2
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "epibyhand",
  "_universes": [
    "rajsubediresearch"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-09T07:50:10.000Z",
      "distro": "resolute",
      "commit": "8007bb0c13515458861174552090337e20111433",
      "fileid": "https://r2.ropensci.org/cfd987891e52f502172c315f66742f4525f5624058a65dfb9fe259bd9b5d5f12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rajsubediresearch/actions/runs/37900897541"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-09T07:50:08.000Z",
      "distro": "resolute",
      "commit": "8007bb0c13515458861174552090337e20111433",
      "fileid": "https://r2.ropensci.org/fdd2244bf9c4640cbee2f543e938c01c72995a574f0f1f3d9a500839f7f9a0f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rajsubediresearch/actions/runs/37900897541"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-09T07:51:15.000Z",
      "commit": "8007bb0c13515458861174552090337e20111433",
      "fileid": "https://r2.ropensci.org/ae088f9030717f365f17e7a0cb2520d976a9dd6e22f8faa3e56debff8a2d32f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rajsubediresearch/actions/runs/37900897541"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-09T07:50:24.000Z",
      "commit": "8007bb0c13515458861174552090337e20111433",
      "fileid": "https://r2.ropensci.org/bed4ed3b5d757d258cfeb0c20a969dfd06c610380fdb06963e39337a6ff32e32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rajsubediresearch/actions/runs/37900897541"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-09T07:50:11.000Z",
      "commit": "8007bb0c13515458861174552090337e20111433",
      "fileid": "https://r2.ropensci.org/4c89adfd5437e1f103d99c8cac763adf03adb9f8d46e358f35a63df78affd560",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rajsubediresearch/actions/runs/37900897541"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-09T07:49:34.000Z",
      "commit": "8007bb0c13515458861174552090337e20111433",
      "fileid": "https://r2.ropensci.org/262f5b6163ac56253ebeeeeab2f9b73cff44ac9be802cb6706bcf6a926730d24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rajsubediresearch/actions/runs/37900897541"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-09T07:49:28.000Z",
      "commit": "8007bb0c13515458861174552090337e20111433",
      "fileid": "https://r2.ropensci.org/e21ee94e6d9c01c7bba5c0d78d22e5d336a4a4bfe33321d2c323d9fccedfee67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rajsubediresearch/actions/runs/37900897541"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-09T07:49:28.000Z",
      "commit": "8007bb0c13515458861174552090337e20111433",
      "fileid": "https://r2.ropensci.org/b74cf53f19388aed9a4f068106a18b0bbde2b56e00170aa845bb647a4831f993",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rajsubediresearch/actions/runs/37900897541"
    }
  ]
}