The mosaic Package: Helping Students to Think with Data Using R

The mosaic package provides a simplified and systematic introduction to the core functional ity related to descriptive statistics, visualization, modeling, and simulation-based inference required in first and second courses in statistics. This introduction to the package describes some of the guiding principles behind the design of the package and provides illustrative examples of several of the most important functions it implements. These can be combined to help students “think with data” using R in their early course work, starting with simple, yet powerful, declarative commands.

Randall Pruim , Daniel T Kaplan , Nicholas J Horton
2017-05-10

CRAN packages used

mosaic, lattice, mosaic, mosaicData, ggplot2, ggplot2, dplyr, parallel, MASS

CRAN Task Views implied by cited packages

Graphics, Multivariate, Phylogenetics, Distributions, Econometrics, Environmetrics, NumericalMathematics, Psychometrics, Robust, SocialSciences

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Pruim, et al., "The mosaic Package: Helping Students to Think with Data Using R", The R Journal, 2017

BibTeX citation

@article{RJ-2017-024,
  author = {Pruim, Randall and Kaplan, Daniel T and Horton, Nicholas J},
  title = {The mosaic Package: Helping Students to Think with Data Using R},
  journal = {The R Journal},
  year = {2017},
  note = {https://doi.org/10.32614/RJ-2017-024},
  doi = {10.32614/RJ-2017-024},
  volume = {9},
  issue = {1},
  issn = {2073-4859},
  pages = {77-102}
}