pop_vs_yield: Yield or productivity curve

View source: R/13_pop_vs_yield.R

pop_vs_yieldR Documentation

Yield or productivity curve

Description

relative population size (x) vs. Sustainable yield (y)

Usage

pop_vs_yield(
  z.vec = c(1, 2.39, 5.99),
  lh.params = lh.params1,
  add.legend = FALSE,
  ggp = TRUE,
  linecolor = "#123f5a",
  lang = "en"
)

Arguments

z.vec

a vector of z values

lh.params

a list of life history parameters

add.legend

logical; whether or not to add a legend

ggp

logical; whether to plot in ggplot and plot a single yield curve; set to FALSE for base R plot and multiple yield curves.

linecolor

color of yield curve line

lang

language selected by the user (character)

Value

a plot of population size vs. 'yield'

Examples

pop_vs_yield(z.vec = c( 1.1, 2.5, 5.99),
lh.params = list(
  S0 = 0.944, S1plus = 0.99, AgeMat = 17,
  nages = 19, lambdaMax = 1.04
), ggp = FALSE)

mcsiple/mmrefpoints documentation built on June 17, 2022, 8:41 p.m.