Using R for ecological modeling in USACE restoration planning
Motivation
Ecological models are an important tool for ecosystem restoration planning within the U.S. Army Corps of Engineers. Models are used to estimate the ecosystem benefits of different restoration alternatives or projects. Ecosystem benefits are coupled with cost data to identify cost effective plans at different price levels, and to ultimately select restoration plans to undertake. So, the outputs of ecological models are very important in determining what projects are built! However, ecological modeling within USACE is primarily a spreadsheet-based activity featuring deterministic habitat models. The ecological modeling capacity of USACE biologists can be greatly improved by incorporating modern data science practices, especially the uptake of R, a programming language that is used in the majority of ecological research being conducted today. R promotes research that is well-documented, reproducible, interdisciplinary, and extensible. R also works on all kinds of data, produces high-quality graphics, has a broad supportive network of users, and is easier to learn than ever before. This training series will focus on teaching USACE biologists and other practitioners how to use R for ecological modeling. Doing so can yield numerous benefits for restoration planning, from improved communication to more accurate model estimates and increased insight into uncertainty.
Intended audience
- Modeling experience: Those considering themselves “modelers” on projects, with some familiarity with ecological modeling, or wanting to expand their modeling toolbox. Those open to learning how to use code.
- Career trajectory: USACE planners, biologists, and geospatial analysts; this course may also benefit ecological/environmental engineers who .
- Institutional context: USACE team members; partners working closely with USACE.
- Pre-requisites: None! Although some familiarity with ecological models and how they are used in USACE may be useful. Similarly, experience with numerical modeling, coding, and data analysis may also help but is not required.
Learning objectives
- Become familiar with R coding basics, the RStudio environment, and the benefits of using R for conducting analyses.
- Learn some important building blocks of data “wrangling” and visualization in R.
- Learn key methods for seeking help with R coding problems.
- Increase familiarity with existing habitat modeling tools.
- Develop ability to conduct basic non-habitat ecological modeling and compare with traditional habitat models.
Module format
Asynchronous, self-directed modules accompanied by full R scripts to carry out analyses. This format was selected because it is:
- Durable (i.e., tutorials persist online)
- Flexible for learners
- Has potential impact beyond USACE
Module structure
- Background for context (5-10 minutes)
- Coding mechanics (10-20 minutes)
- Application of the code to a real problem (10-20 minutes)
Additional resources to be provided by instructors
- Potential zoom “office hours” to assist trainees with coding and data troubleshooting
- Links to vetted resources for working with R, RStudio, and ecological models
Course subject matter
The training course will include modules that introduce users to coding in R, followed by modules that focus on different ecological modeling topics. Users who are already proficient with R and RStudio but wish to learn more about ecological modeling may skip directly to specific modules relevant to their goals.
Modules on the basics of using R and RStudio (modules 1 through 4) are adapted from an open-source course entitled Data Analysis and Visualization in R for Ecologists1 created by The Carpentries, a community of instructors and trainers who teach foundational data science skills to other researchers. This course is designed for a ~6 hour workshop, but has also been adapted into multiple standalone videos (e.g., here); we divide these workshop materials into four modules.