R scripts for MAST90084 Statistical Modelling, rewritten as interactive Quarto documents.
Direct link: https://jaycrick.github.io/MAST90084-Statistical-Modelling-Scripts/default.html
1. Install prerequisites:
2. Clone and setup (once):
git clone https://github.com/yourusername/MAST90084-Statistical-Modelling-Scripts.git
cd MAST90084-Statistical-Modelling-ScriptsOpen in RStudio and run in the console:
renv::restore() # Installs all package dependencies (one time only)3. Render documents:
In RStudio: Open any .qmd file in quarto_scripts/ folder and click "Render"
Or from terminal:
quarto preview # Live preview of all documentsquarto_scripts/*.qmd- Interactive analysis documentsdata/- Analysis datasets_output/- Rendered HTML outputs
To keep things organized and safe:
- Create a new branch for each correction (e.g.,
fix-typo-linear-model) - Make your edits and save
- Commit with a short summary (e.g., "Fix ANOVA section")
- Push origin and create a pull request
- One branch per correction — keep changes small and focused
Never edit the main branch directly. All changes should go through a pull request.
This project is configured as a Quarto website (_quarto.yml), with output written to _output/.
Basic publish workflow:
- Render the site locally:
quarto render
- Preview and check pages:
quarto preview
- Publish to GitHub Pages:
quarto publish gh-pages
Quarto updates the gh-pages branch, and GitHub Pages serves the published site from there.