library(knitr)
opts_chunk$set(eval = FALSE)

Usage

Your instructor will give you a line of code to run within your R terminal, which will register your SocraticSwirl session so that it knows what lesson you are taking and who your instructor is. It will look something like this:

library(socraticswirl)
socratic_swirl("linear regression", instructor = "instructors name")

After that, you can take any individual exercise, whenever the instructor prompts you, with a single line of R code. To take the first exercise in a session, do:

exercise(1)

To take the third exercise, you would do:

exercise(3)

It's that simple!

FAQs



HJ08003/socraticswirl-RStudioServer documentation built on May 20, 2019, 11:10 a.m.