This repo contains a number of R-scripts that are meant to showcase R and its applications in statistics. The scripts can be used in education, by students, teachers or R-beginners.
Inspired by this YouTube video by minutephysics. Simpson's paradox is a statistical paradox and ecological fallacy where seemingly contradictory results are implied by a single set of data depending on how it's grouped.
An example how to use the datasauRus package. datasauRus wraps the Datasaurus Dozen datasets, as described by this paper by J. Matejka & G. Fitzmaurice and this blogpost by A. Cairo. This dataset shows the importance of visualisation in addition to descriptive statistics.