Skip to content

jaycrick/MAST90084-Statistical-Modelling-Scripts

Repository files navigation

MAST90084 Statistical Modelling Scripts

R scripts for MAST90084 Statistical Modelling, rewritten as interactive Quarto documents.

Published Website

Published Website

Direct link: https://jaycrick.github.io/MAST90084-Statistical-Modelling-Scripts/default.html

Quick Start

1. Install prerequisites:

2. Clone and setup (once):

git clone https://github.com/yourusername/MAST90084-Statistical-Modelling-Scripts.git
cd MAST90084-Statistical-Modelling-Scripts

Open 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 documents

Structure

  • quarto_scripts/*.qmd - Interactive analysis documents
  • data/ - Analysis datasets
  • _output/ - Rendered HTML outputs

Resources

Quarto GuideR Docs

Contributing

To keep things organized and safe:

  1. Create a new branch for each correction (e.g., fix-typo-linear-model)
  2. Make your edits and save
  3. Commit with a short summary (e.g., "Fix ANOVA section")
  4. Push origin and create a pull request
  5. One branch per correction — keep changes small and focused

Never edit the main branch directly. All changes should go through a pull request.

Publishing with Quarto

This project is configured as a Quarto website (_quarto.yml), with output written to _output/.

Basic publish workflow:

  1. Render the site locally:
    quarto render
  2. Preview and check pages:
    quarto preview
  3. Publish to GitHub Pages:
    quarto publish gh-pages

Quarto updates the gh-pages branch, and GitHub Pages serves the published site from there.

About

Rewriting the R scripts for MAST90084 Statistical Modelling masters level subject to Quarto scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors