This website contains the documentation for the R package qtalrkit
and
supplementary materials for the “An Introduction to Quantitative Text
Analysis for Linguistics: Reproducible Research using
R” textbook.
You can install a development version of qtalrkit
from
GitHub with:
install.packages("remotes")
remotes::install_github("qtalr/qtalrkit")
Then load the package with:
library(qtalrkit)
Please consult the package documentation for more information.
Installation
The swirl lessons can be downloaded within an R console by running:
install.packages("swirl")
library("swirl")
install_course_github("qtalr", "Lessons")
Load and run
To load and start a lesson run:
swirl()
and follow the instructions to get started and to select a lesson.
Updating the lessons
If you need to update the lessons, run:
library("swirl") # Uninstall the course uninstall_course("Lessons") # Reinstall the course install_course_github("qtalr", "Lessons")
Other supplementary reading are appear in the materials section of this site.