powered by
Finds the interval annual capture probability (pi) that maximises the yield for a given population.
ypr_optimize(population, Ly = 0, harvest = TRUE, biomass = FALSE)
An object of class ypr_population().
ypr_population()
The minimum length (trophy) fish to consider when calculating the yield (cm).
A flag specifying whether to calculate the yield for harvested fish or captures.
A flag specifying whether to calculate the yield in terms of the biomass versus number of individuals.
The interval annual capture probability (pi) that maximises the yield.
ypr_population() and ypr_yield()
ypr_yield()
# NOT RUN { ypr_optimize(ypr_population()) # }
Run the code above in your browser using DataLab