Learn R Programming

ypr (version 0.4.0)

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)

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.

Value

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

See Also

ypr_population() and ypr_yield()

Examples

Run this code
# NOT RUN {
ypr_optimize(ypr_population())
# }

Run the code above in your browser using DataLab