Skip to contents

Plot Stock-Recruitment Curve

Usage

ypr_plot_sr(
  population,
  Ly = 0,
  harvest = TRUE,
  biomass = FALSE,
  plot_values = TRUE
)

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.

plot_values

A flag specifying whether to plot the actual and optimal values.

Value

A ggplot2 object.

See also

Examples

ypr_plot_sr(ypr_population(Rk = 10))

ypr_plot_sr(ypr_population(Rk = 10, BH = 0L))