WK-04 - Linear models

Learn how to implement linear models in R!

Workshop 4: Linear models in R

In this workshop, you will learn how to implement basic linear models commonly used in ecology such as simple regression, analysis of variance (ANOVA), analysis of covariance (ANCOVA), and multiple regression in R. After verifying visually and statistically the assumptions of these models and transforming your data when necessary, the interpretation of model outputs and the plotting of your final model will no longer keep secrets from you!


Material

badge License: CC BY-NC-SA 4.0

Slides Book Script
English English English
Français Français Français

Note: The wiki for this workshop was converted to Bookdown in September 2021.
The wiki pages for this workshop will no longer be updated (Archive: EN, FR).

Datasets

birdsdiet.csv dickcissel.csv

Additional R functions

col.plotcorr.R lm_adv.R lm_e.R


Contributors

This workshop was originally developed by Catherine Baltazar, Bérenger Bourgeois, Zofia Taranu, and Shaun Turney.

Since 2014, several QCBS members contributed to consistently and collaboratively develop and update this workshop, as part of the Learning and Development Award from the Québec Centre for Biodiversity Science. They were:

2022 - 2021 - 2020 2019 - 2018 - 2017 2016 - 2015 - 2014
Victor Cameron Willian Vieira Catherine Baltazar
Laurie Maynard Shaun Turney Bérenger Bourgeois
Daniel Schoenig Marie-Hélène Brice Zofia Taranu
Katherine Hébert Shaun Turney
Emmanuelle Chrétien
Maxwell Farrell
Vincent Fugère

Note: The contributor table is still under construction.