A short course on how to fit, plot, and evaluate GAMs
The course website URL available at pedersen-fisheries-lab.github.io/one-day-gam-workshop/
-
You will need to install R and I recommend using RStudio. The latest version of R can be downloaded here. RStudio is an application (an integrated development environment or IDE) that facilitates the use of R and offers a number of nice additional features. It can be downloaded here. You will need the free Desktop version for your computer.
-
Download the course materials as a ZIP file here. Alternatively, if you have the usethis, R package, running the following command will download the course materials and open them:
usethis::use_course('pedersen-fisheries-lab/one-day-gam-workshop')
-
Install the R packages required for this course by running the following line of code your R console:
install.packages(c("dplyr", "ggplot2", "remotes", "mgcv", "tidyr")) remotes::install_github("gavinsimpson/gratia")