Green Sections

As you go through the course there will be numerous green sections. These will have a On Your Own: Swirl Practice. Swirl is a in R style of learning. It was originally designed for the Coursera courses and now is in use in many other courses. You will see something like this in here:

On Your Own: Swirl Practice

In order to learn R you must do R. Follow the steps below in your RStudio console:

  1. Install the swirl package:
  install.packages("swirl")
  1. Now install a swirl course:
  library(swirl)
  install_course("_______")

Swirl is a tool that will walk you through a series of problems in R. As we move through this course we will install more courses. To run the current course enter this command:

  1. Run this command to pick the course:
swirl()

You will be promted to choose a course. Type whatever number is in front of _________. This will then take you to a menu of lessons. For now we will just use lesson 1. Type 1 to choose ______ then follow all the instructions until you are finished.

Once you are finished continue on to the next lesson.


Previous section:
Next section: