ypr_optimize: Optimize Capture
Description
Finds the interval annual capture probability (pi) that maximises the yield for a given population.
Usage
ypr_optimize(population, Ly = 0, harvest = TRUE, biomass = FALSE)
Value
The interval annual capture probability (pi) that maximises the yield.
Arguments
- population
An object of class ypr_population()
.
- Ly
The minimum length (trophy) fish to consider when calculating the yield (cm).
- harvest
A flag specifying whether to calculate the yield for harvested fish or captures.
- biomass
A flag specifying whether to calculate the yield in terms of the biomass versus number of individuals.
See Also
ypr_population()
and ypr_yield()
Examples
Run this codeypr_optimize(ypr_population())
Run the code above in your browser using DataLab