Note that some links that are no longer active have been deleted
Course Preparation
This three-day workshop will provide an introduction to R for fisheries scientists. R concepts and methods will be introduced through the use of a variety of fisheries examples. The focus of this course, however, will be on developing foundational skills in R that can be transferred to other situations, rather than teaching specific fisheries methods. Participants will test application of their knowledge with hands-on exercises using real fisheries data.
Pre-Course Preparation
The first link below describes steps for installing R and RStudio on your laptop, which will be required to perform the course assignments. The second link briefly describes how to use RStudio. Please contact me with any questions.
- Install R and RStudio (complete before course) [The current versions of RStudio (now 0.98.XXX) and FSA (now 0.4.3) differ slightly from those shown here. However, the procedural steps have not changed.]
- Getting Started with RStudio (review before course)
- You should download and bring to the course all slides, R Handout Scripts, and associated data files below. Print all R Handouts (1.2mb) to bring to the course.
Course Materials
The following materials will be used during the course.
- Introduction to R and RStudio
- R Basics and Terminology
- R Data Reading and Manipulation
- Description — fishR (Back-Calculation), Slides
- Handout — Script, MNBCData.xlsx, MNBCData.CSV
- Exercise — Data frames — RuffeBio.XLSX, Key
- Exercise — Back-calculation — MN98WaeYep.CSV, Key
- Basic Summarizations and Plotting
- Handout — Script, MNFats.CSV
- Exercise — LakeTroutALTER.CSV, Key
- Simple Linear Regression
- Description — fishR (Length-Weight)
- Handout — Script, MNFats.CSV
- Exercise — LakeTroutALTER.CSV, Key
- One-Way ANOVA
- Description — fishR (Relative Weight)
- Handout — Script, Keuska99.CSV
- Exercise — InchLake2.CSV, Key
- Non-Linear Regression
- Description — fishR (Von Bertalanffy), Slides
- Handout — Script, TroutBR.CSV
- Exercise — LakeTroutALTER.CSV, Key
- Indicator Variable Regression
- Description — fishR (Catch Curve)
- Handout — Script
- Exercise — LakeTroutALTER.CSV, Key
- Depletion Estimates (using K-Pass)
- Description — fishR (Depletion)
- Handout — Script, JonesStockwell2.CSV
- Exercise — BrookTroutNEWP.csv, Key
- Aging Data (Precision, Accuracy, and Bias)
- Description — fishR, Slides
- Handout — Script, AlewifeLH.CSV, StripedBass4.CSV
- Exercise — WhitefishLC.CSV, Key
- Mark-Recapture (If time permits)
- Description — fishR
- Handout — Script, BluegillJL.CSV, PikeNYPartial1.CSV
- Exercise — RBTroutUNSP.CSV, Key
- Age-Length Key (If time permits)
- Description — fishR, Slides
- Handout — Script, SpotVA2.CSV
- Exercise — RockBassLO2.CSV, Key
Follow-Up
Please complete this survey regarding this workshop. Following the course, if you have any questions please feel free to contact me.