learnr Tutorial ExamplesSource:
These tutorials were designed to showcase the features of the learnr package — and to teach learners how to use R! Try working through these tutorials to get a sense of the look and feel of a learnr tutorial. Then check out the source code to see how these tutorials were made!
A tutorial featuring videos and interactive questions to guide a new R user through the installation and set up of everything they'll need to get started with R.
An example tutorial teaching a common
data transformation: filtering rows of a data frame with
There’s a lot that learnr can do. These tutorials showcase specific learnr features or show you some possibilities that build on other packages designed to work with R Markdown and learnr.
You can use learnr to teach students how to work with databases using interactive SQL exercises. In this example, we describe how to create your own SQL exercises using the gradethis package to check the student's query.