News: See Interactive Tutorials for QSS by Matt Blackwell which builds on qss-swirl but significantly improves it.
Swirl Lessons for the book, ``Quantitative Social Science: An Introduction'' (QSS), published by Princeton University Press in 2017. See also the main repo, qss, for other supplementary materials.
I welcome your contributions. Please improve these questions and add some new ones so that others can use them!
If you are an instructor, you may also be interested in Socratic Swirl, which can be used to monitor and analyze your students' progress in these swirl lessons with an easy-to-use dashboard.
- Install the
swirlpackage:
install.packages("swirl")
- Install the
qss-swirllessons:
library(swirl) # load the swirl package
install_course_github("kosukeimai", "qss-swirl")
- Start a
qss-swirllesson (after loading theswirlpackage):
swirl()
- Uninstall the
qss-swirllessons (after loading theswirlpackage):
uninstall_course("qss-swirl")
- Update the
qss-swirllessons (after loading theswirlpackage):
uninstall_course("qss-swirl") # uninstall the course
install_course_github("kosukeimai", "qss-swirl") # reinstall the course