Package: TropFishR 1.7.7

TropFishR: Tropical Fisheries Analysis

A compilation of fish stock assessment methods for the analysis of length-frequency data in the context of data-poor fisheries. Includes methods and examples included in the FAO Manual by P. Sparre and S.C. Venema (1998), "Introduction to tropical fish stock assessment" (<https://openknowledge.fao.org/server/api/core/bitstreams/bc7c37b6-30df-49c0-b5b4-8367a872c97e/content>), as well as other more recent methods.

Authors:Tobias K. Mildenberger [aut, cre], Marc H. Taylor [aut], Matthias Wolff [aut]

TropFishR_1.7.7.tar.gz
TropFishR_1.7.7.zip(r-4.7-any)TropFishR_1.7.7.zip(r-4.6-any)TropFishR_1.7.7.zip(r-4.5-any)
TropFishR_1.7.7.tgz(r-4.6-any)TropFishR_1.7.7.tgz(r-4.5-any)
TropFishR_1.7.7.tar.gz(r-4.7-any)TropFishR_1.7.7.tar.gz(r-4.6-any)
TropFishR_1.7.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
TropFishR/json (API)

# Install 'TropFishR' in R:
install.packages('TropFishR', repos = c('https://tokami.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tokami/tropfishr/issues

Pkgdown/docs site:https://tokami.github.io

Datasets:
  • alba - Length-frequency data of the clam Abra alba
  • alba_boot - Bootstrapped VBGF estimates for the alba lfq dataset
  • bream - Bream data
  • emperor - Emperor data
  • gillnet - Gillnet data
  • goatfish - Yellowstriped goatfish data
  • haddock - Haddock data
  • hake - Hake data
  • shrimps - Shrimp data
  • synCAA1 - Synthetic Catch-at-age data I
  • synCAA2 - Synthetic Catch-at-age data II
  • synCPUE - Synthetical catch per unit of effort (CPUE) dataset
  • synLFQ1 - Synthetic length-frequency data I
  • synLFQ2 - Synthetic length frequency data II
  • synLFQ3 - Synthetic length frequency data III
  • synLFQ4 - Synthetic length-frequency data IV
  • synLFQ5 - Synthetic length-frequency data V
  • synLFQ6 - Synthetic length-frequency data VI
  • synLFQ7 - Synthetic length-frequency data VII with seasonal oscillation
  • synLFQ8 - Synthetic length-frequency data VIII with variable harvest rate
  • tilapia - Tilapia data
  • trammelnet - Trammel net data
  • trawl_fishery_Java - Data from the trawl fishery off the North coast of Java
  • whiting - Whiting data

On CRAN:

Conda:

assessmentfao-manualfishfish-stocks

8.64 score 33 stars 1 packages 156 scripts 1.6k downloads 3 mentions 41 exports 41 dependencies

Last updated from:15cf896d6f. Checks:2 NOTE, 7 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE212
source / vignettesOK257
linux-releaseOK191
macos-releaseOK142
macos-oldrelOK140
windows-develNOTE123
windows-releaseOK134
windows-oldrelOK151
wasm-releaseOK121

Exports:add_phiprimeBhattacharyacatchCurvedate2yeardecELEFANELEFAN_GAELEFAN_GA_bootELEFAN_SAELEFAN_SA_bootgillnetfitgrowth_length_agegrowth_tagginglfqCreatelfqFitCurveslfqModifylfqRaiselfqResamplelfqRestructureLinfK_scatterhistM_empiricalMstochThenplotBootpowell_wetherallpredict_modprod_modprod_mod_tsrecruitmentselectselect_Millarselect_Millar_compareselect_Millar_curveselect_ogivestartingPoint2tanchorstock_simunivariate_densityVBGFvbgfCI_timeVPAyeardec2dateZ_BevertonHoltZ_CPUE

Dependencies:clicodetoolscrayondoParallelexpmFNNforeachGAgenericsGenSAgluegmpiteratorskernlabKernSmoothkslatticelifecyclemagrittrMASSMatrixmclustmgcvmsmmulticoolmvtnormnlmepillarpkgconfigplyrpracmaRcppRcppArmadilloreshape2rlangstringistringrsurvivaltibbleutf8vctrs

Single-species fish stock assessment with TropFishR
Installing TropFishR | Biological stock characteristics | Growth parameters | Natural mortality rate | Fishing mortality rates and gear selectivity | Stock status | Exploitation rate | Yield per recruit modelling | Summary | References

Last update: 2026-11-15
Started: 2017-02-05

Using the TropFishR ELEFAN functions
Introduction | Length-frequency data preparation | The ELEFAN approach | Data restructuring | Scoring of VGBF parameter combinations | Restricting the VBGF parameter search range | Asymptotic length (Linf) | Growth constant (K) | Response surface analysis (RSA) | Refined searches using optimization algorithms | Simulated annealing (ELEFAN_SA) | Genetic algorithm (ELEFAN_GA) | Seasonally-oscillating growth | alba | A synthetic example | Variable mutation probability | Several runs with different seeds | Best practices | Limitations | References

Last update: 2026-11-15
Started: 2017-12-18

Length-frequency data for TropFishR
Background | LFQ import | Data arrangement 1 | Data arrangement 2 | Data arrangement 3 | Other file formats | Data of several years | Sampled numbers and total catch | Conclusion

Last update: 2026-11-14
Started: 2017-09-21

Uncertainty in length-based stock assessment with bootstrapped ELEFAN
Introduction | Data | Resampling of length-frequency data | Bootstrapped ELEFAN | Results | Graphs | Distributions of the parameters | Correlation of Linf and K | Growth curves | Reproducing resamples | Bootstrapped stock assessment | Natural mortality | Total and fishing mortality and selectivity | Yield per recruit and reference points | References

Last update: 2026-11-14
Started: 2026-11-12

Readme and manuals

Help Manual

Help pageTopics
Add phi prime contours to a Linf-K plotadd_phiprime
Length-frequency data of the clam Abra albaalba
Bootstrapped VBGF estimates for the alba lfq datasetalba_boot
Bhattacharya's methodBhattacharya
bream databream
Catch curvecatchCurve
Date - Year conversiondate2yeardec
ELEFANELEFAN
ELEFAN_GAELEFAN_GA
Bootstrapped ELEFAN_GAELEFAN_GA_boot
ELEFAN_SAELEFAN_SA
Bootstrapped ELEFAN_SAELEFAN_SA_boot
Emperor dataemperor
Gillnet datagillnet
Millar's original gillnet selectivity fitting functiongillnetfit
Yellowstriped goatfish datagoatfish
Estimation of growth parameter using length-at-age datagrowth_length_age
Growth from tagging datagrowth_tagging
Haddock datahaddock
Hake datahake
Create lfq data from length measurementslfqCreate
Fitting VBGF growth curves through lfq datalfqFitCurves
Modify lfq data for further analysislfqModify
Raise length-frequency samples to the total catchlfqRaise
Resampling of length-frequency datalfqResample
Restructuring of length frequency datalfqRestructure
Linf-K scatterplot of bootstrapping resultsLinfK_scatterhist
Log-likelihood of Millar's selectivity modellogLik.select_Millar
Empirical formulas for the estimation of natural mortalityM_empirical
Empirical M formula by Then et al. (2015) with uncertaintyMstochThen
Bhattacharya plotplot.Bhattacharya
Plotting catch curveplot.catchCurve
Plotting of length frequency data (with VBGF curves)plot.lfq
Plotting prediction models yield per recruit and Thompson & Bellplot.predict_mod
Plotting production modelsplot.prod_mod
Plotting time series production modelsplot.prod_mod_ts
Plot of recruitment patternsplot.recruitment
Selectivity plotplot.select
Millar's selectivity plotplot.select_Millar
VPA plotplot.VPA
Plot bootstrapping resultsplotBoot
Powell-Wetherall methodpowell_wetherall
Prediction modelspredict_mod
Predict the retention of Millar's selectivity modelpredict.select_Millar
Production modelsprod_mod
Production models with time series fittingprod_mod_ts
Predict gillnet selectivity (old Millar method)rcurves_Millar
Recruitment patternsrecruitment
Selectivity modelselect
Millar's selectivity modelselect_Millar
Compare Millar's selectivity modelsselect_Millar_compare
Selection curves of Millar's selectivity modelsselect_Millar_curve
Selectivity patternsselect_ogive
Shrimp datashrimps
Convert FiSAT's starting point to t_anchor valuestartingPoint2tanchor
Stock simulationstock_sim
Synthetic Catch-at-age data IsynCAA1
Synthetic Catch-at-age data IIsynCAA2
Synthetical catch per unit of effort (CPUE) datasetsynCPUE
Synthetic length-frequency data IsynLFQ1
Synthetic length frequency data IIsynLFQ2
Synthetic length frequency data IIIsynLFQ3
Synthetic length-frequency data IV (with seasonal oscillation)synLFQ4
Synthetic length-frequency data V (without seasonal oscillation)synLFQ5
Synthetic length-frequency data VI (without seasonal oscillation)synLFQ6
Synthetic length-frequency data VII with seasonal oscillationsynLFQ7
Synthetic length-frequency data VIII with variable harvest ratesynLFQ8
Tilapia datatilapia
Trammel net datatrammelnet
Data from the trawl fishery off the North coast of Javatrawl_fishery_Java
Univariate density plots of bootstrapping resultsunivariate_density
Von Bertalanffy Growth function (VBGF)VBGF
VBGF plot and CI from bootstrapping resultsvbgfCI_time
Virtual Population Analysis (VPA)VPA
Whiting datawhiting
Year - Date conversionyeardec2date
Yield per recruitypr
Yield per recruit with selection ogiveypr_sel
Beverton & Holt's Z-EquationsZ_BevertonHolt
Estimate Z from CPUE dataZ_CPUE