ypr_yields: Yields

Description Usage Arguments Value See Also Examples

View source: R/yields.R

Description

Calculates the yield(s) for a population based on one or more capture rates.

Usage

1
2
ypr_yields(population, pi = seq(0, 1, length.out = 100), Ly = 0,
  harvest = TRUE, biomass = FALSE)

Arguments

population

An object of class ypr_population.

pi

A vector of probabilities of capture to calculate the yield for.

Ly

The minimum length (trophy) fish to consider when calculating the yield.

harvest

A flag indicating whether to calculate the yield for harvested fish or captures.

biomass

A flag indicating whether to calculate the yield in terms of the biomass versus number of individuals.

Value

A numeric vector of the yields.

See Also

ypr_yield

Examples

1
2
pi <- seq(0, 1, length.out = 30)
plot(pi, ypr_yields(ypr_population(), pi), type = "l")

poissonconsulting/ypr documentation built on May 16, 2019, 11:12 p.m.