pop_vs_yield: Yield or productivity curve

Description Usage Arguments Value Examples

View source: R/13_pop_vs_yield.R

Description

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

Usage

1
2
3
4
5
6
7
8
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

1
2
3
4
5
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)

ktmurray1219/mmrefpoints documentation built on Dec. 21, 2021, 8:40 a.m.