{
  "_id": "6a1697f2acfb0bcc41d7cc33",
  "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-05-27 07:03:32 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",
  "MD5sum": "c021eb3e17de9d454eb4eed4c06b87f3",
  "_user": "gianmarcoalberti",
  "_type": "src",
  "_file": "chisquare_1.2.tar.gz",
  "_fileid": "f7381a78b20cd87b9775bd44c360b04869e1c25690129edc5c5de2cd3030c993",
  "_filesize": 292856,
  "_sha256": "f7381a78b20cd87b9775bd44c360b04869e1c25690129edc5c5de2cd3030c993",
  "_created": "2026-05-27T07:03:32.000Z",
  "_published": "2026-05-27T07:06:26.851Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78024969870,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234003837"
    },
    {
      "job": 78024969866,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234002492"
    },
    {
      "job": 78024969871,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233995405"
    },
    {
      "job": 78024969940,
      "time": 81,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233989190"
    },
    {
      "job": 78024430636,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233965713"
    },
    {
      "job": 78024969860,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233999485"
    },
    {
      "job": 78024969912,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233991318"
    },
    {
      "job": 78024969885,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233990435"
    },
    {
      "job": 78024969889,
      "time": 76,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233988002"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/26496039161",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/chisquare",
  "_commit": {
    "id": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
    "author": "Gianmarco Alberti <gianmarcoalberti@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2\n",
    "time": 1761728408
  },
  "_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
  },
  "_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": [
    {
      "week": "2025-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2",
      "date": "2025-10-29"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "gianmarcoalberti",
      "count": 13,
      "uuid": 8791619
    }
  ],
  "_userbio": {
    "uuid": 8791619,
    "type": "user",
    "name": "Gianmarco Alberti",
    "description": "Senior Lecturer in Criminology (UM) | Fellow of the Royal Statistical Society | R developer (126k+ downloads) | GIS, spatial analysis, statistics"
  },
  "_downloads": {
    "count": 325,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chisquare"
  },
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/chisquare.html",
    "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",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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-05-27T07:05:45.000Z",
      "distro": "noble",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "702246bef3a72e4c670efb73d9cc8b313faa768811463801f22dee5256c247c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/26496039161"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-27T07:05:42.000Z",
      "distro": "noble",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "2a175c34317dbe9cfde2352caa9761d106bce9c87dc9f17b1cc47f9439e7266c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/26496039161"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-27T07:05:20.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "01eaa7cd3d422aed6bc27ad2efe992f45c58a9df29b22710188da5a45ce308f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/26496039161"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-27T07:05:00.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "f552c887145f47d56e45be50c360f9586dbdc67d04942e7a52130fadaecc529c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/26496039161"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-05-27T07:05:50.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "75adbfbc072386e2a70bc43b04e5d8891c97147806ba667e5aee2c41f8def5a6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/26496039161"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-27T07:04:55.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "f75e0dcc2ac433d3c1f76af4f6ff1aa3ef8eb77f5d4c060f46da060a230eb0b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/26496039161"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-27T07:04:53.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "90efcf514268e4b255b7415358272f0869c1866f12b027d52bb8b6885c5a4104",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/26496039161"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-27T07:04:45.000Z",
      "commit": "1b5562bb129ee6b1926bb91d735ed49a38b9d35f",
      "fileid": "2ca9cec9ac507c80b53b4b1f0c6e61bc836e48f48ed7dd96b4efa7a12a5bd3fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gianmarcoalberti/actions/runs/26496039161"
    }
  ]
}