Learning statistics with R
This repository contains all the source materials for Learning Statistics with R. There are two versions of the content, the
original version (LSR v0.6) written in LaTeX and the
bookdown adaptation (LSR v0.6.1). The two versions are kept in distinct folders to ensure they share no dependencies.
To generate the bookdown version, source the
bookdown/serve_book.R script. The generated book appears in the
To typeset the original LaTeX version, the root file is
original/pdf/lsr.tex, and the generated file is the
original/pdf/lsr.pdf file it produces.
GitHub pages deploys the site from the
docs directory; to publish an updated version of the bookdown version to https://learningstatisticswithr.com just copy the entire contents of
docs/book, and push to GitHub.