This function calculates length-based indicators using Monte Carlo simulation for length parameters and non-parametric bootstrap for Froese indicators. Plots are displayed in the plot panel, and PDFs and an Excel file of results are saved to the current working directory.
FishPar(data, resample = 1000, progress = FALSE, Linf = NULL, Linf_sd = 0.5, Lmat = NULL,
Lmat_sd = 0.5)A list containing estimated length parameters, Froese indicators, and other metrics.
A data frame containing two columns: Length and Frequency.
An integer indicating the number of Monte Carlo samples or bootstrap resamples (default: 1000).
A logical value indicating whether to display a progress bar (default: FALSE).
A numeric value for the asymptotic length (optional). If provided, overrides the default Lmax/0.95 calculation.
A numeric value for the standard deviation of random variation added to Linf (default: 0.5). Only used if Linf is provided.
A numeric value for the length at maturity (optional). If provided, overrides the default Monte Carlo estimation.
A numeric value for the standard deviation of random variation added to Lmat (default: 0.5). Only used if Lmat is provided.