{
  "_id": "6b0e514935d1c7861e97c555",
  "Package": "catfun",
  "Type": "Package",
  "Title": "Categorical Data Analysis",
  "Version": "0.1.4",
  "Author": "Nick Williams",
  "Maintainer": "Nick Williams <ntwilliams.personal@gmail.com>",
  "Description": "Includes wrapper functions around existing functions for\nthe analysis of categorical data and introduces functions for\ncalculating risk differences and matched odds ratios. R\ncurrently supports a wide variety of tools for the analysis of\ncategorical data. However, many functions are spread across a\nvariety of packages with differing syntax and poor\ncompatibility with each another. prop_test() combines the\nfunctions binom.test(), prop.test() and BinomCI() into one\noutput. prop_power() allows for power and sample size\ncalculations for both balanced and unbalanced designs.\nriskdiff() is used for calculating risk differences and\nmatched_or() is used for calculating matched odds ratios. For\nfurther information on methods used that are not documented in\nother packages see Nathan Mantel and William Haenszel (1959)\n<doi:10.1093/jnci/22.4.719> and Alan Agresti (2002)\n<ISBN:0-471-36093-7>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "6.1.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-12-01 04:41:56 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev\nlibx11-dev zlib1g-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-11-30 12:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/catfun",
  "RemoteSha": "e133b4044d7f8c15058378309f0afd7565dac20f",
  "RemoteSubdir": "catfun",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "catfun_0.1.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/7fed077b778e688771f76b78ac41b64a57cb91b744879ccb8086583fec0b4cdd",
  "_filesize": 154051,
  "_sha256": "7fed077b778e688771f76b78ac41b64a57cb91b744879ccb8086583fec0b4cdd",
  "_expires": "2027-03-11T04:47:03.000Z",
  "_created": "2026-12-01T04:41:56.000Z",
  "_published": "2026-12-01T04:47:05.560Z",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_status": "success",
  "_maintainer": {
    "name": "Nick Williams",
    "email": "ntwilliams.personal@gmail.com",
    "login": "nt-williams",
    "description": "Senior Data Analyst @ Columbia University Mailman School of Public Health // PhD student in Biostatistics @ UC Berkeley // free-lance Research Software Engineer",
    "uuid": 32691042
  },
  "_jobs": [
    {
      "job": 142404017585,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "15452937438"
    },
    {
      "job": 142404017624,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "15453896543"
    },
    {
      "job": 142404017644,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "15452708709"
    },
    {
      "job": 142404017584,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "15453113551"
    },
    {
      "job": 142402660875,
      "time": 199,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15454050194"
    },
    {
      "job": 142404017545,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15453486963"
    },
    {
      "job": 142404017669,
      "time": 98,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "15452304712"
    },
    {
      "job": 142404017594,
      "time": 104,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "15454095897"
    },
    {
      "job": 142404017555,
      "time": 100,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "15454110874"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/46577200894",
  "_commit": {
    "id": "e133b4044d7f8c15058378309f0afd7565dac20f",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add catfun to CRANhaven, because archived on 2026-11-30 12:02:00 +0000\n",
    "time": 1796040120
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "epitools",
      "role": "Imports"
    },
    {
      "package": "DescTools",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-49",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "followers": 3,
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 621,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/catfun"
  },
  "_devurl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_searchresults": 14,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/catfun.html",
    "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",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/nt-williams/catfun",
  "_realowner": "nt-williams",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.4",
      "date": "2019-06-14"
    }
  ],
  "_authors": [
    {
      "name": "Nick Williams",
      "email": "ntwilliams.personal@gmail.com",
      "role": [
        "cre"
      ]
    }
  ],
  "_exports": [
    "%>%",
    "matched_or",
    "prop_power",
    "prop_test",
    "riskdiff",
    "tavolo"
  ],
  "_help": [
    {
      "page": "matched_or",
      "title": "Matched pairs odds ratio and confidence interval",
      "topics": [
        "matched_or"
      ]
    },
    {
      "page": "matched_or.data.frame",
      "title": "Matched pairs odds ratio from a data frame",
      "topics": [
        "matched_or.data.frame"
      ]
    },
    {
      "page": "matched_or.table",
      "title": "Matched pairs odds ratio from a table",
      "topics": [
        "matched_or.table"
      ]
    },
    {
      "page": "prop_power",
      "title": "Power and sample size for 2 proportions",
      "topics": [
        "prop_power"
      ]
    },
    {
      "page": "prop_test",
      "title": "Tests for equality of proportions",
      "topics": [
        "prop_test"
      ]
    },
    {
      "page": "prop_test.data.frame",
      "title": "Tests for equality of proportions",
      "topics": [
        "prop_test.data.frame"
      ]
    },
    {
      "page": "prop_test.matrix",
      "title": "Tests for equality of proportions",
      "topics": [
        "prop_test.matrix"
      ]
    },
    {
      "page": "prop_test.numeric",
      "title": "Tests for equality of proportions",
      "topics": [
        "prop_test.numeric"
      ]
    },
    {
      "page": "prop_test.table",
      "title": "Tests for equality of proportions",
      "topics": [
        "prop_test.table"
      ]
    },
    {
      "page": "riskdiff",
      "title": "Risk difference",
      "topics": [
        "riskdiff"
      ]
    },
    {
      "page": "riskdiff.data.frame",
      "title": "Risk difference",
      "topics": [
        "riskdiff.data.frame"
      ]
    },
    {
      "page": "riskdiff.matrix",
      "title": "Risk difference",
      "topics": [
        "riskdiff.matrix"
      ]
    },
    {
      "page": "riskdiff.table",
      "title": "Risk difference",
      "topics": [
        "riskdiff.table"
      ]
    },
    {
      "page": "tavolo",
      "title": "Create 2 x k frequency tables",
      "topics": [
        "tavolo"
      ]
    },
    {
      "page": "tavolo.data.frame",
      "title": "Create 2 x k frequency tables",
      "topics": [
        "tavolo.data.frame"
      ]
    },
    {
      "page": "tavolo.matrix",
      "title": "Create 2 x k frequency tables",
      "topics": [
        "tavolo.matrix"
      ]
    },
    {
      "page": "tavolo.table",
      "title": "Create 2 x k frequency tables",
      "topics": [
        "tavolo.table"
      ]
    }
  ],
  "_readme": "https://github.com/cranhaven/cranhaven.r-universe.dev/raw/package/catfun/catfun/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "cellranger",
    "checkmate",
    "class",
    "cli",
    "clipr",
    "cluster",
    "colorspace",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DescTools",
    "digest",
    "dplyr",
    "e1071",
    "epitools",
    "evaluate",
    "Exact",
    "expm",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "gld",
    "glue",
    "gridExtra",
    "gtable",
    "haven",
    "highr",
    "Hmisc",
    "hms",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lmom",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "mvtnorm",
    "nnet",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "rmarkdown",
    "rootSolve",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 2.5440680443502757,
  "_indexed": false,
  "_nocasepkg": "catfun",
  "_universes": [
    "cranhaven"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-12-01T04:44:20.000Z",
      "distro": "resolute",
      "commit": "e133b4044d7f8c15058378309f0afd7565dac20f",
      "fileid": "https://r2.ropensci.org/d9601b8cf250cc825bf85c59604f53507ea572ee29964504dc178f5d7d42638f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/46577200894"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-12-01T04:44:42.000Z",
      "distro": "resolute",
      "commit": "e133b4044d7f8c15058378309f0afd7565dac20f",
      "fileid": "https://r2.ropensci.org/e62d934b83702b6a4d2f13ef187ae687d523805a364e8f8b5dac13cdc408790c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/46577200894"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-12-01T04:46:07.000Z",
      "commit": "e133b4044d7f8c15058378309f0afd7565dac20f",
      "fileid": "https://r2.ropensci.org/18db9b473af4bf69aab8e3e0259768f5d7cbd509324d87f9c731633653b07598",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/46577200894"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-12-01T04:45:58.000Z",
      "commit": "e133b4044d7f8c15058378309f0afd7565dac20f",
      "fileid": "https://r2.ropensci.org/826a8ba9c80425957f9a5913306e168d04a4d3c7344b79dabdaa43747390a38d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/46577200894"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-12-01T04:43:57.000Z",
      "commit": "e133b4044d7f8c15058378309f0afd7565dac20f",
      "fileid": "https://r2.ropensci.org/89042bdc911f6a32de98ca22be8388230cfa1a970bdeba3f8522fa4baee3c8dd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/46577200894"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-12-01T04:43:06.000Z",
      "commit": "e133b4044d7f8c15058378309f0afd7565dac20f",
      "fileid": "https://r2.ropensci.org/f58391cedd64abf4cf23b18280b51804bc881e67e5629618dc855e23a78e2701",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/46577200894"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-12-01T04:43:10.000Z",
      "commit": "e133b4044d7f8c15058378309f0afd7565dac20f",
      "fileid": "https://r2.ropensci.org/a4479ab848ffa5847babfe4efc7cbfacb93c517fcaaba505e12de10a7f5b874e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/46577200894"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-12-01T04:43:16.000Z",
      "commit": "e133b4044d7f8c15058378309f0afd7565dac20f",
      "fileid": "https://r2.ropensci.org/9a733d99238eaf022532332c451f8a6f2ab57b06d945b8362a7feca90da330aa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/46577200894"
    }
  ]
}