gams-yorku-canada-150 icon indicating copy to clipboard operation
gams-yorku-canada-150 copied to clipboard

GAM Workshop at York University, October 2018

An introduction to Generalized Additive Models with R

York University, October 17, 2017

Requirements

You will require a recent version of R — ideally the latest 3.4.2 release — plus an R-aware edit in which to write scripts and run code, for which I recommend RStudio. You'll also need a recent version of the mgcv package.

Latest R

RStudio

Packages

We'll be using the mgcv package for fitting GAMs; make sure you have the latest version installed!

Packages required:

  • mgcv
  • gamair

You can install these packages using

install.packages(c('mgcv', 'gamair'))