R code from classes
Below is a list of R code divided by topic. Keep in mid that all the code to generate this website and the class notes can be found on GitHub.
Designed experiments
- Split plot designs:
- Day 3 – 09/03/2025 [get R code] analysis of data generated by an experiment in a split-plot design
- Day 6 – 09/15/2025 [get R code] analysis of data generated by an experiment in a split-plot design with subsampling. Illustration of MLE, REML and MoM for variance components.
- R troubleshooting
- Days 14 & 15 – 10/13/2025 & 10/15/2025 [get R code]
- Zero-inflated models & model selection
- Day 21 – 11/05 [get R code]