TropFishR is a collection of fish stock assessment methods for length-frequency and age-based data, aimed at data-poor fisheries. It implements the methods of the FAO manual “Introduction to tropical fish stock assessment” by Sparre and Venema (1998, 1999), and the examples in the help files reproduce the manual’s worked examples. In addition, it includes newer length-based methods, such as electronic length-frequency analysis with simulated annealing and a genetic algorithm (ELEFAN_SA, ELEFAN_GA; Taylor and Mildenberger 2017) and bootstrapped ELEFAN for the uncertainty of the growth parameters (ELEFAN_GA_boot, ELEFAN_SA_boot; Schwamborn et al. 2019).
Website: https://tokami.github.io/TropFishR/
Installation
Install the released version from CRAN:
install.packages("TropFishR")Or the development version from GitHub:
# install.packages("remotes")
remotes::install_github("tokami/TropFishR")Getting started
Functions take a length-frequency data object (class lfq), add their results to it and return it, so that an assessment can be built up step by step: growth (e.g. ELEFAN_GA), mortality (M_empirical, catchCurve), stock size (VPA) and yield per recruit (predict_mod). For example, to estimate the growth parameters of a synthetic data set:
library(TropFishR)
data(synLFQ7)
lfq <- lfqModify(synLFQ7, bin_size = 4)
res <- ELEFAN_GA(lfq, MA = 7, seasonalised = TRUE, maxiter = 50)
res$par
plot(res, Fname = "rcounts")The articles on the website explain each step in detail:
- Single-species fish stock assessment: a complete length-based assessment with the main functions of TropFishR.
- Length-frequency data: what LFQ data are and how to import raw length measurements (e.g. from spreadsheets) into TropFishR.
- ELEFAN functions: the ELEFAN methods in detail, with recommendations for their use.
- Bootstrapped ELEFAN: how to estimate the uncertainty of the growth parameters and propagate it through the assessment.
Changes between versions are listed in the changelog.
Questions and issues
Please report bugs and ask questions on GitHub issues.
References
- Sparre, P., Venema, S.C., 1998. Introduction to tropical fish stock assessment. Part 1. Manual. FAO Fisheries Technical Paper, (306.1, Rev. 2). 407p. link
- Sparre, P., Venema, S.C., 1999. Introduction to tropical fish stock assessment. Part 2. Exercises. FAO Fisheries Technical Paper, (306.2, Rev. 2). 94p. link
- Mildenberger, T. K., Taylor, M. H., Wolff, M., 2017. TropFishR: an R package for fisheries analysis with length-frequency data. Methods in Ecology and Evolution, 8: 1520-1527. doi:10.1111/2041-210X.12791
- Taylor, M. H., Mildenberger, T. K., 2017. Extending electronic length frequency analysis in R. Fisheries Management and Ecology, 24: 330-338. doi:10.1111/fme.12232
- Schwamborn, R., Mildenberger, T. K., Taylor, M. H., 2019. Assessing sources of uncertainty in length-based estimates of body growth in populations of fishes and macroinvertebrates with bootstrapped ELEFAN. Ecological Modelling, 393: 37-51. doi:10.1016/j.ecolmodel.2018.12.001