A simple migration and bioenergetics model for herring spawning migration.
This R-script will replicate the analyses performed in the manuscript.
git clone https://github.com/eamousing/herringspawn.gitThe following software versions have been used. Older/newer versions may work but have not been tested.
- R version 4.3.1 (2023-06-16)
- tidyverse version 2.0.0
- ggplot2 version 3.4.3
- patchwork version 1.1.3
- maps version 3.4.1
- geosphere version 1.5.18
- xlsx version 0.6.5
- R.matlab version 3.7.0
To run the analysis from the terminal on UNIX/Linux:
Rscript herringspawn_main.RThe results of the migration/bioenergetics model will be placed in ./results as csv files. In addition, a plot will be produced (migration.tiff)summarizing the main results.
The source code in this project is licensed under the terms of the MIT license. Data provided in the ./data is not subject to the MIT license.