anscombiser: Create Datasets with Identical Summary Statistics

Anscombe's quartet are a set of four two-variable datasets that have several common summary statistics but which have very different joint distributions. This becomes apparent when the data are plotted, which illustrates the importance of using graphical displays in Statistics. This package enables the creation of datasets that have identical marginal sample means and sample variances, sample correlation, least squares regression coefficients and coefficient of determination. The user supplies an initial dataset, which is shifted, scaled and rotated in order to achieve target summary statistics. The general shape of the initial dataset is retained. The target statistics can be supplied directly or calculated based on a user-supplied dataset. The 'datasauRus' package <> provides further examples of datasets that have markedly different scatter plots but share many sample summary statistics.

Version: 1.1.0
Depends: R (≥ 3.3.0)
Imports: graphics, stats
Suggests: datasauRus, datasets, gganimate, ggplot2, maps, testthat, knitr, rmarkdown
Published: 2022-10-02
DOI: 10.32614/CRAN.package.anscombiser
Author: Paul J. Northrop [aut, cre, cph]
Maintainer: Paul J. Northrop <p.northrop at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README NEWS
CRAN checks: anscombiser results


Reference manual: anscombiser.pdf
Vignettes: An overview of anscombiser


Package source: anscombiser_1.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): anscombiser_1.1.0.tgz, r-oldrel (arm64): anscombiser_1.1.0.tgz, r-release (x86_64): anscombiser_1.1.0.tgz, r-oldrel (x86_64): anscombiser_1.1.0.tgz
Old sources: anscombiser archive


Please use the canonical form to link to this page.