Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Latest commit

 

History

History
85 lines (59 loc) · 1.95 KB

README.md

File metadata and controls

85 lines (59 loc) · 1.95 KB

Quantitative Text Analysis for Linguistics Resources Kit

Lifecycle: experimental R-CMD-check

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.

qtalrkit package

Installation

You can install a development version of qtalrkit from GitHub with:

install.packages("remotes")
remotes::install_github("qtalr/qtalrkit")

Load

Then load the package with:

library(qtalrkit)

Please consult the package documentation for more information.

Supplementary materials

Swirl lessons

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")

Recipes and Guides

Other supplementary reading are appear in the materials section of this site.