Module 4

“Ecology has increasingly become a data- and model-centric discipline…”
— Trends in ecology and conservation over eight decades

Figure 5: Data analysis, statistical methods, and genetics n-grams from 1930 to 2010

R packages and datasets

It is assumed in all following examples of this module that the following code has been executed successfully.

packages used in this module

library(tidyverse) ## general functionality
library(lme4) ## mixed effects models

datasets used in this module

base_url <- "https://raw.githubusercontent.com/STATS-UOA/databunker/master/data/"
  1. birds8
birds <- read_delim(paste(base_url, "bird_abundance.csv", sep = "")) %>%
  dplyr::select(c("OliveFarm","Management","Turdus_merula","Phylloscopus_collybita")) %>%
  pivot_longer(., c(-OliveFarm, -Management), names_to = "Species", values_to = "Count") 
  1. lobster9
lobster <- read_csv(paste(base_url, "lobster.csv", sep = ""))
  1. mice10
mice <- read_csv(paste(base_url, "autism.csv", sep = ""))