compstatslib: Interactive 2D and 3D Visualization of Data and Statistical Concepts

Interactive gadgets and plotting functions for visualizing data sets and statistical concepts in two and three dimensions. Explore a data frame as a 3D point cloud you can rotate, fit a moderated (interaction) regression and view its surface as a 3D wireframe, or plot principal components and regression fits in two dimensions. Each interactive gadget returns the call that reproduces its final view, including the viewing angle, so an exploratory session can be pasted into a script or report. Also provides simulation-based demonstrations of sampling distributions, confidence intervals, t-tests, and matrix inversion for teaching and self-study.

Version: 0.8.0
Depends: R (≥ 4.1.0)
Imports: lattice, miniUI, plotly, shiny
Suggests: testthat (≥ 3.0.0)
Published: 2026-08-08
DOI: 10.32614/CRAN.package.compstatslib (may not be active yet)
Author: Soumya Ray [aut, cre], Daniele Melotti [aut]
Maintainer: Soumya Ray <soumya.ray at gmail.com>
BugReports: https://github.com/compstatslib/compstatslib/issues
License: MIT + file LICENSE
URL: https://github.com/compstatslib/compstatslib
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: compstatslib results

Documentation:

Reference manual: compstatslib.html , compstatslib.pdf

Downloads:

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

Linking:

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