View source: R/getYieldVsFcurve.R
getYieldVsF | R Documentation |
Calculates the yield of a species for a range of fishing mortalities for that species while the fishing mortalities for the other species are held fixed.
getYieldVsF(
params,
species,
F_range,
F_max = 1,
F_min = 0,
no_steps = 10,
distance_func = distanceSSLogN,
tol = 0.001,
t_max = 100
)
params |
An object of class |
species |
Name of the target species |
F_range |
A sequence of fishing mortalities at which to evaluate the
yield. If missing, it is set to
|
F_max |
The maximum fishing mortality. Used only if |
F_min |
The minimum fishing mortality. Used only if |
no_steps |
The number of steps to use. Only used if |
distance_func |
A function that will be called after every |
tol |
The |
t_max |
The longest time to run project to find steady state. |
A data frame with columns F
and yield
.
plotYieldVsF
## Not run:
params <- newMultispeciesParams(NS_species_params_gears, inter)
y <- getYieldVsF(params, "Cod", F_max = 1, no_steps = 5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.