-
Notifications
You must be signed in to change notification settings - Fork 47
Creating a New Lesson in an Existing Course
This documentation is deprecated. For the latest version of the swirlify documentation please visit: http://swirlstats.com/swirlify
The swirlify package is always aware of your current working directory and you should always keep this in mind while working with swirlify. In Creating a New Course we created a course called Normal Distribution Functions in R and we created a lesson called How to use pnorm. I've finished working on that lesson so now I'm going to create a new lesson called How to use qnorm in the Normal Distribution Functions in R course.
First I'll set my working directory to the directory that contains the Normal Distribution Functions in R course:
setwd("~/Developer/my_swirl_courses/")
Then to start working on a new lesson I use the new_lesson()
function:
new_lesson("How to use qnorm", "Normal Distribution Functions in R")
Executing the new_lesson()
function will open up the lesson.yaml
file in
your text editor for the How to use qnorm lesson. You can now start adding
questions to this lesson. To find out more about how to add questions to a lesson
see Adding Questions to a Lesson.
This documentation is accurate for swirlify version 0.4.1. If you believe changes should be made to this document please open a new issue. The code contained in this documentation is MIT licensed. The content of this documentation is licensed CC BY 4.0.
- Welcome!
- Creating a New Course
- Creating a New Lesson in an Existing Course
- Resuming Work on a Lesson in an Existing Course
- Checking Which Lesson You're Working On