CRAN Task View: Teaching Statistics

Maintainer:Paul Northrop
Contact:p.northrop at
Contributions:Suggestions and improvements for this task view are very welcome and can be made through issues or pull requests on GitHub or via e-mail to the maintainer address. For further details see the Contributing guide.
Citation:Paul Northrop (2024). CRAN Task View: Teaching Statistics. Version 2024-02-07. URL
Installation:The packages from this task view can be installed automatically using the ctv package. For example, ctv::install.views("TeachingStatistics", coreOnly = TRUE) installs all the core packages or ctv::update.views("TeachingStatistics") installs all packages that are not yet installed and up-to-date. See the CRAN Task View Initiative for more details.

This CRAN task view gives information about packages with features that are designed to assist with the teaching of Statistics. It is not concerned with the teaching of R itself. A few of these packages are listed in other task views, but only the Bayesian task view has a section devoted explicitly to teaching (Bayesian) Statistics.

The packages are grouped into three broad topics: teaching, examination and packages associated with Statistics books. The latter is for books that are general enough to be of potential interest to a wide audience of teachers of Statistics. They should concern models and methods with wide applicability and not be tied closely to a particular application.

If you think that a package is missing from the list, or have any other comments or suggestions, then please contact the maintainer, either via e-mail or by submitting an issue or pull request in the GitHub repository linked above.



Packages associated with Statistics books

The following packages are associated with textbooks that are of potential interest to a general statistical audience, rather than being specific to a particular application area. The general principle for inclusion is that package is likely to be of direct use in the teaching of statistical methods. Official publisher links are provided where possible and, in some cases, a link to further resources.

CRAN packages

Core:animation, BayesDA, exams, MASS, mosaic, Rcmdr.
Regular:ACSWR, AER, agricolae, agricolaeplotr, arm, asbio, BetaBit, Bolstad, car, carData, CatDataAnalysis, DALEX, distrTeach, effects, faraway, gganimate, ggplot2, HH, HKRbook, HRW, HSAUR3, infer, ISwR, LearnBayes, moderndive, MPV, msos, openintro, ProfessR, regtools, resampledata, shinybrms, Sleuth2, Sleuth3, smovie, SMPracticals, swirl, swirlify, TeachingDemos, TexExamRandomizer, vcd, vcdExtra, visualize, wooldridge, xplain.

Related links

Other resources