{
  "_id": "6acb4bd8fe5cc25786e8db00",
  "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-10-11 08:38:33 UTC",
    "User": "root"
  },
  "Author": "VP Nagraj [aut, cre]",
  "_user": "vpnagraj",
  "_type": "src",
  "_file": "twoxtwo_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/bfe47bb4e5c352e54820f8a48c0ec90c812875332fd20446e7b0a4a5369d4a12",
  "_filesize": 263859,
  "_sha256": "bfe47bb4e5c352e54820f8a48c0ec90c812875332fd20446e7b0a4a5369d4a12",
  "_expires": "2027-01-19T08:41:58.000Z",
  "_created": "2026-10-11T08:38:33.000Z",
  "_published": "2026-10-11T08:41:59.988Z",
  "_buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/38125277998",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114429025024,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11696722736"
    },
    {
      "job": 114429025031,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11696841974"
    },
    {
      "job": 114429024946,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11696866919"
    },
    {
      "job": 114429025011,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11697695442"
    },
    {
      "job": 114428314284,
      "time": 235,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11697275948"
    },
    {
      "job": 114429024934,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11696649947"
    },
    {
      "job": 114429024985,
      "time": 68,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11697076503"
    },
    {
      "job": 114429025013,
      "time": 68,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11697820007"
    },
    {
      "job": 114429024991,
      "time": 85,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11697805035"
    }
  ],
  "_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",
    "description": "",
    "uuid": 8546787
  },
  "_distro": "resolute",
  "_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",
    "followers": 50
  },
  "_downloads": {
    "count": 310,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/twoxtwo"
  },
  "_devurl": "https://github.com/vpnagraj/twoxtwo",
  "_searchresults": 18,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/twoxtwo.html",
    "LICENSE"
  ],
  "_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.857332496431269,
  "_indexed": true,
  "_nocasepkg": "twoxtwo",
  "_universes": [
    "vpnagraj"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-11T08:40:32.000Z",
      "distro": "resolute",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "https://r2.ropensci.org/e7dd7a72877c056399c609296e42c1879e1a913e93deb9b437b1007ebeca82a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/38125277998"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-11T08:40:30.000Z",
      "distro": "resolute",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "https://r2.ropensci.org/1414d210875d8f5f765550a25f8ea63ef3808096342b424703c57c84242bca48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/38125277998"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-11T08:40:35.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "https://r2.ropensci.org/f9aa31e1bf3413d73c15621773046f38a81c84dac43e7ccc9112c9fd0370caff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/38125277998"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-11T08:41:25.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "https://r2.ropensci.org/1aebc73283cbf07f1403e603b013f60254d2b59352cfae65d120d5594e76e393",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/38125277998"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-11T08:40:41.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "https://r2.ropensci.org/4760107f2a75b5b3f6d72bf3b9dca9e4edb1bd6b7f699093a509a671b796fc33",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/38125277998"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-11T08:39:39.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "https://r2.ropensci.org/dee6c6a6fb2260d2b9c3d45b64ac3e1363789421969080d44117ad88c42f1a5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/38125277998"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-11T08:39:38.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "https://r2.ropensci.org/0a837bb66f7ef20c92f4d1cef1f46919ba261610f7ccf30e83828f2a763fb7e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/38125277998"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-11T08:39:55.000Z",
      "commit": "9fa9e1f1631c0c16064ae400a3033e5e9d342140",
      "fileid": "https://r2.ropensci.org/891efaab05b0e48e0c4ae39adb743f7e4f43fdc1690f9dc280fc08200d9423fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vpnagraj/actions/runs/38125277998"
    }
  ]
}