RChiSquare: Chi-Square Tests, Power and Sample Size for Discrete and Continuous Data in One, Two or Three Dimensions

Cressie-Read power-divergence goodness-of-fit and two-sample tests for one, two and three dimensional data. Continuous data support equal-space and equal-probability partitions, simulation power, and analytic fixed-alternative power. Discrete goodness-of-fit tests support raw or value-count data with explicit support, expected-count cell merging, and analytic and simulation power calculations. The package includes a routine for sample size estimation and planning as well as a 'shiny' app for one-dimensional data. For references see the vignette.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: stats, graphics, utils, parallel, ggplot2, shiny
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), pkgload
Published: 2026-11-26
DOI: 10.32614/CRAN.package.RChiSquare (may not be active yet)
Author: Wolfgang Rolke ORCID iD [aut, cre]
Maintainer: Wolfgang Rolke <wolfgang.rolke at upr.edu>
License: GPL-3
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: RChiSquare results

Documentation:

Reference manual: RChiSquare.html , RChiSquare.pdf
Vignettes: Getting started with RChiSquare (source, R code)

Downloads:

Package source: RChiSquare_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): RChiSquare_1.0.0.tgz, r-oldrel (arm64): RChiSquare_1.0.0.tgz, r-release (x86_64): RChiSquare_1.0.0.tgz, r-oldrel (x86_64): RChiSquare_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=RChiSquare to link to this page.