Chapter 2 Preparing for the workshop
To prepare for this workshop, download and install the earliest RStudio and R
versions. You should also download the data and some additional functions that we will use during this workshop:
- R Script
- Fish data
- Arabidopsis data
- Inverts data
- glmm_funs (code for use in the GLMM section)
You can save these files by clicking on the links above, and right click + save on the webpage they open.
This workshop requires the following R
packages:
To install them from CRAN, run:
install.packages(c("lme4", "MASS", "vcdExtra", "bbmle", "MuMIn",
"ggplot2", "DescTools", "remotes", "gridExtra", "lattice"),
repos = "http://cran.us.r-project.org", quiet = TRUE)
To load these packages, run:
library(lme4)
library(MASS)
library(vcdExtra)
library(bbmle)
library(MuMIn)
library(ggplot2)
library(DescTools)
library(remotes)
library(gridExtra)
library(lattice)
You can also load the specific functions of this workshop by using:
source("data/glmm_funs.R")