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
swirl
package:
install.packages("swirl")
- Install the
qss-swirl
lessons:
library(swirl) # load the swirl package
install_course_github("kosukeimai", "qss-swirl")
- Start a
qss-swirl
lesson (after loading theswirl
package):
swirl()
- Uninstall the
qss-swirl
lessons (after loading theswirl
package):
uninstall_course("qss-swirl")
- Update the
qss-swirl
lessons (after loading theswirl
package):
uninstall_course("qss-swirl") # uninstall the course
install_course_github("kosukeimai", "qss-swirl") # reinstall the course