OpenIntro Labs for R and tidyverse

Logo

👩🏿‍💻 OpenIntro Labs in R using the tidyverse design philosophy, grammar, and data structures

View the Project on GitHub OpenIntroStat/oilabs-tidy

OpenIntro Labs promote the understanding and application of statistics through applied data analysis. Labs are titled based on topic area, which correspond to particular chapters in all three versions of OpenIntro Statistics, a free and open-source textbook. The textbook as well as the html version of the labs can be found at http://www.openintro.org/stat/labs.php.

This repository is a fork of the original base-R labs. It incorporates the tidyverse syntax from the dplyr package for data manipulation, the ggplot2 package for graphics, and the infer package for statistical inference.

Labs

  1. Intro to R
  2. Intro to data
  3. Probability
  4. Normal distribution
  5. Foundations of inference
    a. Sampling distributions
    b. Confidence intervals
  6. Inference for categorical data
  7. Inference for numerical data
  8. Simple linear regression
  9. Multiple linear regression

Source code for labs

We currently support our source files in the RMarkdown (.Rmd) format, which can be output into html format (though output to pdf is also possible). The source files are processed using the knitr package in R, and are easiest to use in RStudio.

Feedback / collaboration

Your feedback is most welcomed! If you have suggestions for minor updates (fixing typos, etc.) please do not hesitate to issue a pull request. If you have ideas for major revamp of a lab (replacing outdated code with modern version, overhaul in pedagogy, etc.) please create an issue so to start the conversation.

It is our hope that these materials are useful for instructors and students of statistics. If you end up developing some interesting variants of these labs or creating new ones, please let us know!

Code of Conduct

Please note that the oilabs-tidy project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.