ypr_plot_sr: Plot Stock-Recruitment Curve

View source: R/plot-sr.R

ypr_plot_srR Documentation

Plot Stock-Recruitment Curve

Description

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

Other sr: ypr_sr(), ypr_tabulate_sr()

Other plot: ypr_plot_biomass(), ypr_plot_fish(), ypr_plot_schedule(), ypr_plot_yield()

Examples

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

poissonconsulting/ypr documentation built on April 4, 2023, 8:35 p.m.