The "lecture notes" of STAT 545A and 547M are hosted here, using bookdown
.
To update the website with changes, just push a change to this repo, and Travis CI will automatically build the book, and netlify will deploy the book.
If you want to see what the book will look like before incorporating the change to the website, view the book locally using bookdown
in R:
- Ensure bookdown is installed via
install.packages("bookdown")
. - Render the book in one of two ways:
- Clicking "knit" in RStudio when editing one of the
cm___.Rmd
files should display that file's changes in the book. - Otherwise, execute the R code
bookdown::render_book("index.Rmd")
, and this should render the entire book, which you can view in the newly modifiedindex.html
file, or by executing the R codebookdown::serve_book()
.
- Clicking "knit" in RStudio when editing one of the
Please keep to the following bookdown conventions:
- Reserve Level 1 headers for a new lecture (or new "Part", like a STAT 545A part and a STAT 547M part).
cmxyy
stands for class meeting numberyy
, wherex=0
stands for STAT 545A, andx=1
547M.- The ordering of these files matters! It determines the "chapter" order.