Learn R Programming

ypr (version 0.4.0)

ypr_yield: Yield

Description

Calculates the yield for a population.

Usage

ypr_yield(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 yield as number of fish or biomass.

Details

By default, with Rmax = 1 the number of individuals is the proportion of the recruits at the carrying capacity. If the yield is given in terms of the biomass (kg) then the scaling also depends on the value of Wa (g).

See Also

ypr_population() and ypr_optimize()

Examples

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

Run the code above in your browser using DataLab