← All activities
Workshop 6 · Activity

Activity: Code It — SPC (Individual)

An in-class activity from the course slides — reproduced here so you can find it again after class.

📋 What to do

  1. Find the course helper script functions/functions_process_control.R (or the .py equivalent) in the course repo — it holds functions like ggprocess, ggs and ggr.
  2. Add the script to your Positron/RStudio coding environment and load it (in R, source("functions_process_control.R")).
  3. Load the workshops/water.csv dataset and pick a variable of interest.
  4. Generate an averages plot, a standard deviations plot, and a ranges plot for it.
  5. Copy your commented code and your visualizations into the Canvas text submission box.

📮 Submit

Remember: Submit on Canvas (1 pt) — graded on completion. (Individual)

Note: this page carries the live text of the activity, including the links to slides and shared materials; check back here if something looks out of date. Hand your work in on Canvas, which also carries the due date and your grade.