Skip to content

brianstock/StatsClass_public

Repository files navigation

Intro to R for fisheries / marine ecology

Course materials generated by Brian Stock, Josh Stewart, and Lynn Waterhouse for the "Ecological Data Analysis" workshop (Yelapa, Mexico, Mar 23 -- Apr 2, 2017)

Many thanks to our funders:

Preparation (before arrival)

  1. Download and install R: https://www.r-project.org/

  2. Download and install R Studio: https://www.rstudio.com/products/rstudio/download/ (at the bottom under 'Installers for Supported Platforms'). If you have trouble downloading or installing R or R Studio, please email us so we can work through any problems ahead of time.

  3. Work through the following tutorial so you have some experience with R before the workshop: http://www.cyclismo.org/tutorial/R/ (only chapters 1 through 7; stop after 'Indexing into Vectors')

  4. Work through the following exercises: https://www.datacamp.com/courses/free-introduction-to-r (Chapter 1 & 2 will be some repeats of the cyclismo tutorial, but 3-6 will be new)

  5. Run in R:install.packages(c("tidyr", "dplyr", "ggplot2", "lubridate", "stringr", "lme4", "ggmap", "FSA", "FSAdata", "car", "multcomp", "plotrix", "nnet", "nlstools"), dependencies = TRUE)

Schedule / Curriculum

Arrival day

Get settled

Pass out pre-test (students do in evening)

Day 1

Morning:

  1. Intro to statistics (3 hours)

Afternoon:

Collect tree data (30-45 minutes)

  1. Introduction to R (2.5 hours)

Day 2

Morning:

  1. Distributions and normality tests

Afternoon:

  1. Transformations, T-tests, and non-parametric tests

Day 3

Morning:

  1. ANOVA (2 hours)

  2. Data wrangling (2 hours)

Afternoon:

Boats (manta surveys, plankton tow, CTD)

Day 4

Morning:

  1. Linear regression (3 hours)

Afternoon:

Boats (manta surveys, plankton tow, CTD)

Day 5

Morning:

  1. Multiple regression (1.5 hours)

  2. Chi-square (1.5 hours)

Afternoon:

  1. GLM Binomial (2 hours)

  2. GLM Poisson (1 hour)

Day 6

Morning:

  1. Tableau (4 hours)

Afternoon:

  1. Visual communication skills (2 hours)

Day 7

Review

Day 8

Exam

About

Intro to R for fisheries / marine ecology

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published