Skip to content

pedersen-fisheries-lab/DFO-3day-gam-workshop

Repository files navigation

DFO-3day-gam-workshop

A short course on how to fit, plot, and evaluate GAMs

Setup

  • You will need to install R and we 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/DFO-3day-gam-workshop')
    
  • Install the R packages required for this course by running the following line of code your R console:

    install.packages(c("dplyr", "rnaturalearth", "sf", "lwgeom", "dsm", "ggplot2", "remotes", "mgcv", "tidyr"))
    remotes::install_github("gavinsimpson/gratia")
    

Online environment

  • You can also use a free online environment rather than installing R on your machine. Click here to launch an online RStudio environment with the course materials and packages already installed: Launch binder

    (Note that this will be a temporary environment run on the free Binder service. Download and save any materials you create, as your session will not be saved after quitting.)

About

A short course on how to fit, plot, and evaluate GAMs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •