Skip to contents

Finds the annual interval capture probability (pi) that maximises the yield for a given population.

Usage

ypr_optimize(object, Ly = 0, harvest = TRUE, biomass = FALSE)

Arguments

object

The population or populations.

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.

Value

The annual interval capture probability (pi) that maximises the yield.

See also

Examples

ypr_optimize(ypr_population())
#> [1] 0.115183