Description Who is the package aimed at? What is covered? Running a tutorial A list of tutorials References
The adventr package contains a series of tutorials that accompany my books An Adventure in Statistics and Discovering statistics using R. These tutorials contain abridged sections from my books so there are some copyright considerations but I offer them under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. (Basically you can use them for teaching and non-profit activities but not meddle with them or claim them as your own work.)
Anyone teaching from or reading An Adventure in Statistics or Discovering statistics using R might find them useful.
The tutorials do not teach the background theory (the books do): it is assumed you have either attended my lecture or read the relevant chapter in the aforementioned books (or someone else's) The aim of this tutorial is to augment the theory that you already know by guiding you through fitting linear models using R and RStudio and asking you questions to test your knowledge along the way.
To run a tutorial execute:
learnr::run_tutorial("name_of_tutorial", package = "adventr")
replacing name_of_tutorial with the name of the tutorial (see below). For example, to run the tutorial on data basics execute:
learnr::run_tutorial("adventr_02", package = "adventr")
adventr_02: Data basics in R and RStudio. This tutorial looks at the basic concepts in R, such as installing packages, setting the working directory, getting help, getting data into R, creating variables, creating data frames and tibbles, reading in data files, manipulating variables within a tibble/data frame.
adventr_03: Summarizing data (introducing ggplot2)
adventr_04: Fitting models (central tendency)
adventr_05: Presenting data (summarizing groups and more ggplot2)
adventr_08: Inferential statistics and robust estimation (covers Chapter 9 too)
adventr_11 Hypothesis testing
adventr_14: The general linear model
adventr_15: Comparing two means
adventr_15_rm: Comparing two means (repeated measures)
adventr_16: Comparing several means
adventr_16_rm: Comparing several means (repeated measures)
adventr_17: Factorial designs
adventr_mlm: Multilevel models (not covered in the book)
adventr_growth: Growth models (not covered in the book)
adventr_log: Logistic regression (not covered in the book)
Field, A. P. (2016). An adventure in statistics: the reality enigma. London: Sage.
Field, A. P., Miles, J. N. V., & Field, Z. C. (2012). Discovering statistics using R: And sex and drugs and rock 'n' roll. London: Sage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.