Learn R Programming

⚠️There's a newer version (1.6.6) of this package.Take me there.

TropFishR :fishing_pole_and_fish:

Package description

TropFishR is a collection of fisheries models based on the FAO Manual "Introduction to tropical fish stock assessment" by Sparre and Venema (1998, 1999). Not only scientists working in the tropics will benefit from this new toolbox. The methods work with age-based or length-frequency data and assist in the assessment of data poor fish stocks. Overall, the package comes with 30 functions, 19 data sets and 10 s3 methods. All objects are documented and provide examples that allow reproducing the examples from the FAO manual.

News

You can find detailed descriptions of new features, bug fixes, other changes of specific package versions here.

Installation

Download the released version of TropFishR from CRAN:

install.packages("TropFishR")

Or the development version from GitHub:

# install.packages("remotes")
remotes::install_github("tokami/TropFishR")

Citation

Please use the R command citation("TropFishR") to receive information on how to cite this package.

Documentation

The "Length-frequency data for TropFishR" tutorial gives a brief description of LFQ data and illustrates how files with raw length measurements (e.g. excel files) can be imported into R and trimmed for the use with TropFishR. The "Using the TropFishR ELEFAN functions" tutorial demonstrates the ELEFAN functions available in TropFishR in detail and discusses best practices.

Questions / Issues

In case you have questions or find bugs, please write an email to Tobias Mildenberger or post on TropFishR/issues. If you want to be updated with the development of the package or want to discuss with TropFishR users and developers, follow the project on ResearchGate.

References

  1. 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
  2. Sparre, P., Venema, S.C., 1999. Introduction to tropical fish stock assessment. Part 2. Excercises. FAO Fisheries Technical Paper, (306.2, Rev. 2). 94p. link
  3. Mildenberger, T. K., Taylor, M. H. and 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 link
  4. Taylor, M. H., and Mildenberger, T. K., 2017. Extending electronic length frequency analysis in R. Fisheries Management and Ecology, 24:330-338. doi:10.1111/fme.12232 link

Copy Link

Version

Install

install.packages('TropFishR')

Monthly Downloads

1,026

Version

1.6.4

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tobias K Mildenberger

Last Published

March 1st, 2024

Functions in TropFishR (1.6.4)

VPA

Virtual Population Analysis (VPA)
ELEFAN_GA

ELEFAN_GA
ELEFAN_SA

ELEFAN_SA
Z_BevertonHolt

Beverton & Holt's Z-Equations
Bhattacharya

Bhattacharya's method
Z_CPUE

Estimate Z from CPUE data
alba

Length-frequency data of the clam Abra alba
ELEFAN

ELEFAN
M_empirical

Empirical formulas for the estimation of natural mortality
growth_length_age

Estimation of growth parameter using length-at-age data
goatfish

Yellowstriped goatfish data
bream

bream data
catchCurve

Catch curve
VBGF

Von Bertalanffy Growth function (VBGF)
date2yeardec

Date - Year conversion
growth_tagging

Growth from tagging data
gillnetfit

Millar's original gillnet selectivity fitting function
haddock

Haddock data
gillnet

Gillnet data
emperor

Emperor data
plot.lfq

Plotting of length frequency data (with VBGF curves)
plot.Bhattacharya

Bhattacharya plot
lfqRestructure

Restructuring of length frequency data
plot.predict_mod

Plotting prediction models yield per recruit and Thompson & Bell
lfqFitCurves

Fitting VBGF growth curves through lfq data
hake

Hake data
plot.VPA

VPA plot
lfqModify

Modify lfq data for further analysis
plot.catchCurve

Plotting catch curve
lfqCreate

Create lfq data from length measurements
plot.prod_mod

Plotting production models
prod_mod_ts

Production models with time series fitting
rcurves_Millar

Predict gillnet selectivity (old Millar method)
plot.prod_mod_ts

Plotting time series production models
predict_mod

Prediction models
plot.select_Millar

Millar's selectivity plot
powell_wetherall

Powell-Wetherall method
prod_mod

Production models
stock_sim

Stock simulation
plot.recruitment

Plot of recruitment patterns
plot.select

Selectivity plot
recruitment

Recruitment patterns
rtypes_Millar

Millar's selectivity types
select_ogive

Selectivity patterns
select

Selectivity model
synCAA1

Synthetic Catch-at-age data I
startingPoint2tanchor

Convert FiSAT's starting point to t_anchor value
synCAA2

Synthetic Catch-at-age data II
select_Millar

Millar's selectivity model
shrimps

Shrimp data
synCPUE

Synthetical catch per unit of effort (CPUE) dataset
synLFQ3

Synthetic length frequency data III
synLFQ2

Synthetic length frequency data II
synLFQ4

Synthetic length-frequency data IV (with seasonal oscillation)
synLFQ1

Synthetic length-frequency data I
synLFQ5

Synthetic length-frequency data V (without seasonal oscillation)
yeardec2date

Year - Date conversion
synLFQ7

Synthetic length-frequency data VII with seasonal oscillation
synLFQ6

Synthetic length-frequency data VI (without seasonal oscillation)
whiting

Whiting data
trammelnet

Trammel net data
trawl_fishery_Java

Data from the trawl fishery off the North coast of Java
synLFQ8

Synthetic length-frequency data VIII with variable harvest rate
tilapia

Tilapia data
ypr_sel

Yield per recruit with selection ogive
ypr

Yield per recruit