{
  "_id": "6b017cea05a44bc901249dd9",
  "Package": "chisquare",
  "Title": "Chi-Square and G-Square Test of Independence, Power and Residual\nAnalysis, Measures of Categorical Association",
  "Version": "1.2",
  "Authors@R": "person(\"Gianmarco\", \"Alberti\", email = \"gianmarcoalberti@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides the facility to perform the chi-square and\nG-square test of independence, calculates the retrospective\npower of the traditional chi-square test, compute permutation\nand Monte Carlo p-value, and provides measures of association\nfor tables of any size such as Phi, Phi corrected, odds ratio\nwith 95 percent CI and p-value, Yule' Q and Y, adjusted\ncontingency coefficient, Cramer's V, V corrected, V\nstandardised, bias-corrected V, W, Cohen's w, Goodman-Kruskal's\nlambda, and tau. It also calculates standardised,\nmoment-corrected standardised, and adjusted standardised\nresiduals, and their significance, as well as the Quetelet\nIndex, IJ association factor, and adjusted standardised counts.\nIt also computes the chi-square-maximising version of the input\ntable. Different outputs are returned in nicely formatted\ntables.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-21 11:11:08 UTC",
    "User": "root"
  },
  "Author": "Gianmarco Alberti [aut, cre]",
  "Maintainer": "Gianmarco Alberti <gianmarcoalberti@gmail.com>",
  "Config/pak/sysreqs": "cmake make libuv1-dev libxml2-dev libssl-dev\nlibnode-dev",
  "Repository": "https://gianmarcoalberti.r-universe.dev",
  "Date/Publication": "2025-10-29 09:00:08 UTC",
  "RemoteUrl": "https://github.com/cran/chisquare",
  "RemoteRef": "HEAD",
  "RemoteSha": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
  "_user": "gianmarcoalberti",
  "_type": "src",
  "_file": "chisquare_1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/cfefe27c2e05b227beb6669053b64ad0f4a5cf1d53fb77961f6ee072c967c0f6",
  "_filesize": 293009,
  "_sha256": "cfefe27c2e05b227beb6669053b64ad0f4a5cf1d53fb77961f6ee072c967c0f6",
  "_expires": "2027-03-01T11:13:44.000Z",
  "_created": "2026-11-21T11:11:08.000Z",
  "_published": "2026-11-21T11:13:46.220Z",
  "_upstream": "https://github.com/cran/chisquare",
  "_status": "success",
  "_maintainer": {
    "name": "Gianmarco Alberti",
    "email": "gianmarcoalberti@gmail.com",
    "login": "gianmarcoalberti",
    "description": "Senior Lecturer in Criminology (UM) | Fellow of the Royal Statistical Society | R developer (126k+ downloads) | GIS, spatial analysis, statistics",
    "uuid": 8791619
  },
  "_jobs": [
    {
      "job": 136827400465,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14704891796"
    },
    {
      "job": 136827400484,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14704128526"
    },
    {
      "job": 136827400506,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14704223068"
    },
    {
      "job": 136827400439,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14704916066"
    },
    {
      "job": 136826708641,
      "time": 171,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14704940594"
    },
    {
      "job": 136827400419,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14705020499"
    },
    {
      "job": 136827400495,
      "time": 62,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14704158255"
    },
    {
      "job": 136827400441,
      "time": 60,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14704538967"
    },
    {
      "job": 136827400461,
      "time": 57,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14704703254"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/44897653969",
  "_commit": {
    "id": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
    "author": "Gianmarco Alberti <gianmarcoalberti@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2\n",
    "time": 1761728408
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "gt",
      "version": ">= 0.3.1",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "gianmarcoalberti",
      "count": 13,
      "uuid": 8791619
    }
  ],
  "_userbio": {
    "uuid": 8791619,
    "type": "user",
    "name": "Gianmarco Alberti",
    "followers": 21,
    "description": "Senior Lecturer in Criminology (UM) | Fellow of the Royal Statistical Society | R developer (126k+ downloads) | GIS, spatial analysis, statistics"
  },
  "_downloads": {
    "count": 672,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chisquare"
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/chisquare.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"
  ],
  "_realowner": "gianmarcoalberti",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1",
      "date": "2022-03-08"
    },
    {
      "version": "0.2",
      "date": "2022-03-20"
    },
    {
      "version": "0.3",
      "date": "2022-04-04"
    },
    {
      "version": "0.4",
      "date": "2023-04-21"
    },
    {
      "version": "0.5",
      "date": "2023-06-16"
    },
    {
      "version": "0.6",
      "date": "2023-08-31"
    },
    {
      "version": "0.7",
      "date": "2023-11-03"
    },
    {
      "version": "0.8",
      "date": "2023-12-04"
    },
    {
      "version": "0.9",
      "date": "2024-01-08"
    },
    {
      "version": "1.0",
      "date": "2024-07-19"
    },
    {
      "version": "1.1",
      "date": "2024-10-26"
    },
    {
      "version": "1.1.1",
      "date": "2024-10-27"
    },
    {
      "version": "1.2",
      "date": "2025-10-29"
    }
  ],
  "_authors": [
    {
      "name": "Gianmarco Alberti",
      "email": "gianmarcoalberti@gmail.com",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "chisquare"
  ],
  "_datasets": [
    {
      "name": "diseases",
      "title": "Dataset: Cross-tabulation of quantity of tobacco smoked daily vs. cause of death",
      "object": "diseases",
      "class": [
        "data.frame"
      ],
      "fields": [
        "none",
        "gr1to14",
        "gr15to24",
        "gr25plus"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "safety",
      "title": "Dataset: Cross-tabulation of people's feeling of safety vs. town size",
      "object": "safety",
      "class": [
        "data.frame"
      ],
      "fields": [
        "less10k",
        "btw10k_50k",
        "btw50k_100k",
        "btw100k_500k",
        "btw500k_1M",
        "over1M"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "social_class",
      "title": "Dataset: Cross-tabulation of social class vs. diagnostic category for a sample of psychiatric patients",
      "object": "social_class",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Neurotic",
        "Depressed",
        "PersonalityDisorder",
        "Schizophrenic"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "chisquare",
      "title": "R function for Chi-square, (N-1) Chi-square, and G-Square test of independence, power calculation, measures of association, and standardised/moment-corrected standardised/adjusted standardised residuals, visualisation of odds ratio in 2xk tables (where k >= 2)",
      "topics": [
        "chisquare"
      ]
    },
    {
      "page": "diseases",
      "title": "Dataset: Cross-tabulation of quantity of tobacco smoked daily vs. cause of death",
      "topics": [
        "diseases"
      ]
    },
    {
      "page": "safety",
      "title": "Dataset: Cross-tabulation of people's feeling of safety vs. town size",
      "topics": [
        "safety"
      ]
    },
    {
      "page": "social_class",
      "title": "Dataset: Cross-tabulation of social class vs. diagnostic category for a sample of psychiatric patients",
      "topics": [
        "social_class"
      ]
    }
  ],
  "_readme": "https://github.com/cran/chisquare/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bigD",
    "bitops",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "curl",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "glue",
    "gt",
    "highr",
    "htmltools",
    "htmlwidgets",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "knitr",
    "labeling",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "memoise",
    "mime",
    "pillar",
    "pkgconfig",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reactable",
    "reactR",
    "rlang",
    "rmarkdown",
    "sass",
    "scales",
    "tibble",
    "tidyselect",
    "tinytex",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "chisquare",
  "_universes": [
    "gianmarcoalberti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-11-21T11:13:08.000Z",
      "distro": "resolute",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "https://r2.ropensci.org/cdf3b732fbf483615da7c7985dfc6299211ca705a13810188155ebd9c095bf22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/44897653969"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2",
      "date": "2026-11-21T11:13:02.000Z",
      "distro": "resolute",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "https://r2.ropensci.org/a1ad51f9c4bdff9d943b39d2ed05daa45785924138703d03ff4b5646a31f4797",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/44897653969"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-11-21T11:12:51.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "https://r2.ropensci.org/548fd1bf61e4590ed44659db4be0a106d7ceac55e76664a65b9c7ce15d139b95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/44897653969"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2",
      "date": "2026-11-21T11:13:08.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "https://r2.ropensci.org/6eb79ee41b7db49d0ef5da2feff0c7fb34ffccde28f5780f7cadee9f4180bbe1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/44897653969"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-11-21T11:13:03.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "https://r2.ropensci.org/c56caa27673db5aa704c3f19a05af18dd14714053966ac7810eab1c5171774ad",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/44897653969"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-11-21T11:12:06.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "https://r2.ropensci.org/43c277e6382c9819f347f21e56647e38438e9fe34b8a8759e2ef9f797ad9598b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/44897653969"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2",
      "date": "2026-11-21T11:12:08.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "https://r2.ropensci.org/d085698e72a93c8f39d122ac1207696aee0c34bc76ee313102b2ca039c157ad9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/44897653969"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2",
      "date": "2026-11-21T11:12:06.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "https://r2.ropensci.org/0a75f66794e5d5d77599d54b2168be20e80a32cb16dd6671e6e60e107b23fbe4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/44897653969"
    }
  ]
}