powered by
Calculates the yield(s) for a population based on one or more capture rates.
ypr_yields( population, pi = seq(0, 1, length.out = 100), Ly = 0, harvest = TRUE, biomass = FALSE )
An object of class ypr_population().
ypr_population()
A vector of probabilities of capture to calculate the yield for.
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.
A numeric vector of the yields.
ypr_yield()
# NOT RUN { pi <- seq(0, 1, length.out = 30) plot(pi, ypr_yields(ypr_population(), pi), type = "l") # }
Run the code above in your browser using DataLab