{
  "_id": "6a101760acfb0bcc41c84e5a",
  "Package": "twoxtwo",
  "Type": "Package",
  "Title": "Work with Two-by-Two Tables",
  "Version": "0.1.0",
  "Authors@R": "c(person(\"VP\", \"Nagraj\", role = c(\"aut\", \"cre\"), email = \"nagraj@nagraj.net\"))",
  "Maintainer": "VP Nagraj <nagraj@nagraj.net>",
  "Description": "A collection of functions for data analysis with\ntwo-by-two contingency tables. The package provides tools to\ncompute measures of effect (odds ratio, risk ratio, and risk\ndifference), calculate impact numbers and attributable\nfractions, and perform hypothesis testing. Statistical analysis\nmethods are oriented towards epidemiological investigation of\nrelationships between exposures and outcomes.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.1",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://vpnagraj.r-universe.dev",
  "Date/Publication": "2021-11-01 23:11:40 UTC",
  "RemoteUrl": "https://github.com/vpnagraj/twoxtwo",
  "RemoteRef": "HEAD",
  "RemoteSha": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 05:57:40 UTC",
    "User": "root"
  },
  "Author": "VP Nagraj [aut, cre]",
  "MD5sum": "bbf16a7b90691a9c0e0c1c393d97bddb",
  "_user": "vpnagraj",
  "_type": "src",
  "_file": "twoxtwo_0.1.0.tar.gz",
  "_fileid": "03e23e1a47aff401d6e4c927ad2050c8b71b11cb69dd411a08eb971c55adf448",
  "_filesize": 264328,
  "_sha256": "03e23e1a47aff401d6e4c927ad2050c8b71b11cb69dd411a08eb971c55adf448",
  "_created": "2026-05-14T05:57:40.000Z",
  "_published": "2026-05-22T08:44:16.189Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77346024329,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6988183634"
    },
    {
      "job": 77346024334,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988184764"
    },
    {
      "job": 77346024676,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7010813452"
    },
    {
      "job": 77346024255,
      "time": 109,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988179773"
    },
    {
      "job": 77346023943,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988156978"
    },
    {
      "job": 77346023995,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156435834"
    },
    {
      "job": 77346024192,
      "time": 85,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6988174412"
    },
    {
      "job": 77346024626,
      "time": 128,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6988182731"
    },
    {
      "job": 77346024638,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988177824"
    }
  ],
  "_buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/25844406307",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/vpnagraj/twoxtwo",
  "_commit": {
    "id": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
    "author": "VP Nagraj <nagraj@nagraj.net>",
    "committer": "VP Nagraj <nagraj@nagraj.net>",
    "message": "adding GH action to build a pkgdown site and deploy to gh-pages\n",
    "time": 1635808300
  },
  "_maintainer": {
    "name": "VP Nagraj",
    "email": "nagraj@nagraj.net",
    "login": "vpnagraj",
    "uuid": 8546787
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "lifecycle",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    }
  ],
  "_owner": "vpnagraj",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "vpnagraj",
      "count": 94,
      "uuid": 8546787
    }
  ],
  "_userbio": {
    "uuid": 8546787,
    "type": "user",
    "name": "VP Nagraj"
  },
  "_downloads": {
    "count": 204,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/twoxtwo"
  },
  "_devurl": "https://github.com/vpnagraj/twoxtwo",
  "_searchresults": 12,
  "_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/twoxtwo.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/vpnagraj/twoxtwo",
  "_realowner": "vpnagraj",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-07-09"
    }
  ],
  "_exports": [
    "%>%",
    "arp",
    "chisq",
    "cin",
    "display",
    "ecin",
    "ein",
    "fisher",
    "odds_ratio",
    "parp",
    "risk_diff",
    "risk_ratio",
    "twoxtwo"
  ],
  "_datasets": [
    {
      "name": "titanic",
      "title": "Expanded Titanic dataset",
      "object": "titanic",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Class",
        "Crew",
        "Sex",
        "Age",
        "Survived"
      ],
      "rows": 2201,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "twoxtwo-package",
      "title": "twoxtwo",
      "topics": [
        "twoxtwo-package"
      ]
    },
    {
      "page": "af",
      "title": "Attributable fractions",
      "topics": [
        "af",
        "arp",
        "parp"
      ]
    },
    {
      "page": "bound",
      "title": "Bound a vector",
      "topics": [
        "bound"
      ]
    },
    {
      "page": "chisq",
      "title": "Pearson's chi-squared test",
      "topics": [
        "chisq"
      ]
    },
    {
      "page": "display",
      "title": "Display twoxtwo object",
      "topics": [
        "display"
      ]
    },
    {
      "page": "fisher",
      "title": "Fisher's exact test",
      "topics": [
        "fisher"
      ]
    },
    {
      "page": "format_measure",
      "title": "Format measure",
      "topics": [
        "format_measure"
      ]
    },
    {
      "page": "impact",
      "title": "Impact numbers",
      "topics": [
        "cin",
        "ecin",
        "ein",
        "impact"
      ]
    },
    {
      "page": "measures",
      "title": "Measures of effect",
      "topics": [
        "measures",
        "odds_ratio",
        "risk_diff",
        "risk_ratio"
      ]
    },
    {
      "page": "print.twoxtwo",
      "title": "Print twoxtwo object",
      "topics": [
        "print.twoxtwo"
      ]
    },
    {
      "page": "summary.twoxtwo",
      "title": "Summarize twoxtwo object",
      "topics": [
        "summary.twoxtwo"
      ]
    },
    {
      "page": "titanic",
      "title": "Expanded Titanic dataset",
      "topics": [
        "titanic"
      ]
    },
    {
      "page": "twoxtwo",
      "title": "Create a twoxtwo table",
      "topics": [
        "twoxtwo"
      ]
    }
  ],
  "_readme": "https://github.com/vpnagraj/twoxtwo/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "evaluate",
    "forcats",
    "generics",
    "glue",
    "highr",
    "knitr",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "af-impact.Rmd",
      "filename": "af-impact.html",
      "title": "Attributable Fractions and Impact Numbers",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Attributable Risk Proportion (ARP)",
        "Population Attributable Risk Proportion (PARP)",
        "Exposure Impact Number (EIN)",
        "Case Impact Number (CIN)",
        "Exposed Cases Impact Number (ECIN)",
        "References"
      ],
      "created": "2021-06-06 22:49:57",
      "modified": "2021-07-03 14:10:24",
      "commits": 2
    },
    {
      "source": "basic-usage.Rmd",
      "filename": "basic-usage.html",
      "title": "Basic Usage",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Creating a twoxtwo",
        "Calculating measures of effect",
        "Hypothesis testing",
        "Customizing orientation of twoxtwo"
      ],
      "created": "2021-04-11 00:08:01",
      "modified": "2021-07-03 14:10:24",
      "commits": 2
    },
    {
      "source": "hypothesis-testing.Rmd",
      "filename": "hypothesis-testing.html",
      "title": "Hypothesis Testing",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Pearson's Chi-squared test",
        "Fisher's exact test",
        "References"
      ],
      "created": "2021-05-08 19:04:10",
      "modified": "2021-07-03 14:10:24",
      "commits": 2
    },
    {
      "source": "measures-of-effect.Rmd",
      "filename": "measures-of-effect.html",
      "title": "Measures of Effect",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Odds ratio",
        "Risk ratio",
        "Risk difference",
        "Comparing measures",
        "References"
      ],
      "created": "2021-04-25 16:00:35",
      "modified": "2021-07-03 14:10:24",
      "commits": 4
    }
  ],
  "_score": 4.681241237375588,
  "_indexed": true,
  "_nocasepkg": "twoxtwo",
  "_universes": [
    "vpnagraj"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-14T05:59:54.000Z",
      "distro": "noble",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "934e44a753736fbd44c2d2338901acaed07fd8ddfc7829f3f660aed8d6c442d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/25844406307"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-14T05:59:59.000Z",
      "distro": "noble",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "65ac7b372d65099eedc275d698830118eeaa58e819d89476586cdc83537a107e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/25844406307"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-15T05:39:08.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "b1ca29cc632b9480e290305b63456c33deb4f28df13a97d58cb230e2e1cebac6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/25844406307"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-14T05:59:36.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "8829016b5880da08ec5ca67b2a4632f72d16637fc349cd11c869897ce9c1310b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/25844406307"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-14T05:59:02.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "894b55892e09335d95a2b0b0424d484115b71b755620d7c6f27a7be77d4bbb97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/25844406307"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-14T05:59:35.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "4974e2adedcb06fa3532a3a4eeccb005a78bc6759e02a90d66d794bebfdf548f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/25844406307"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-14T05:59:07.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "4e20d7955ddeea5803d1a9f36a445575c95620b63dd1ad0ecf722c91efedf9c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/25844406307"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T08:44:01.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "1083526180591f9a178ef904e87599a60009e69cf2c0da261a1ea828ee95051a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/25844406307"
    }
  ]
}