SfL supports the Statistics for Linguistics workshop. It provides teaching data, approachable statistical helpers, and links to workshop slides and exercises hosted on the SfL website.
Install the development version from GitHub:
install.packages("remotes")
remotes::install_github("dosc91/SfL")SfL supports R 4.0 and newer. The current CRAN release of ggplot2 requires R 4.1 or newer, so participants using the current plotting stack should update R before the workshop.
Plotting extensions used in workshop materials are optional rather than hard SfL dependencies. Install them explicitly with:
SfL::install_workshop_packages()The initial set contains ggplot2, gridExtra, gghighlight, ggridges, ggforce, and factoextra. Already-installed packages are skipped.
Open a registered resource in the default browser:
SfL::open_slide(3, 2021, "english")
SfL::open_exercise(3, 2026, "marburg")The plural aliases open_slides() and open_exercises() remain available. Resource URLs are maintained in one internal catalogue so future workshop PDFs and exercises can be added without duplicating dispatch logic.
Function documentation is available through R’s help system:
help(package = "SfL")
?SfL::predictor_strengthPlease cite the package as:
Schmitz, D. & Esser, J. (2026). SfL: Statistics for Linguistics. R package version 1.0.2. https://github.com/dosc91/SfL