Learn R Programming

swirlify (version 0.5.3)

demo_lesson: Demo the current lesson in swirl

Description

Jump right in to the current swirl lesson without needing to navigate swirl's menus. It's also possible to jump into the middle of a lesson.

Usage

demo_lesson(from = NULL, to = NULL)

Arguments

from

Question number to begin with. Defaults to beginning of lesson.

to

Question number to end with. Defaults to end of lesson.

Examples

Run this code
# NOT RUN {
# Demo current lesson from beginning through the end
demo_lesson()
# Demo current lesson from question 5 through the end
demo_lesson(5)
# Demo current lesson from question 8 through question 14
demo_lesson(8, 14)
# }

Run the code above in your browser using DataLab