Week 02: R Basics

HappyHouR

Slides (open in a new tab)

Materials

Download the data file here, by right-clicking on the page that opens, and saving the file into the data folder of your R Project.

Complete the tutorial for next week:

You need to install the discovr package to complete this week’s tutorial.

If you didn’t install it in the HappyHouR this week, open RStudio, paste each line of code below into the Console, & press Enter to run them one by one.

install.packages("learnr")
install.packages("remotes")
remotes::install_github("profandyfield/discovr")

Once installed, you can access the tutorial for this week using the code below.

Work through the discovr_01 tutorial by pasting the below code into the Console in RStudio & pressing Enter.

learnr::run_tutorial("discovr_01", package = "discovr")

See how the tutorials work in this video..