FishPar | R Documentation |
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)
data |
A data frame containing two columns: Length and Frequency. |
resample |
An integer indicating the number of Monte Carlo samples or bootstrap resamples (default: 1000). |
progress |
A logical value indicating whether to display a progress bar (default: FALSE). |
Linf |
A numeric value for the asymptotic length (optional). If provided, overrides the default Lmax/0.95 calculation. |
Linf_sd |
A numeric value for the standard deviation of random variation added to Linf (default: 0.5). Only used if Linf is provided. |
Lmat |
A numeric value for the length at maturity (optional). If provided, overrides the default Monte Carlo estimation. |
Lmat_sd |
A numeric value for the standard deviation of random variation added to Lmat (default: 0.5). Only used if Lmat is provided. |
A list containing estimated length parameters, Froese indicators, and other metrics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.