View source: R/13_pop_vs_yield.R
pop_vs_yield | R Documentation |
relative population size (x) vs. Sustainable yield (y)
pop_vs_yield( z.vec = c(1, 2.39, 5.99), lh.params = lh.params1, add.legend = FALSE, ggp = TRUE, linecolor = "#123f5a", lang = "en" )
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 |
linecolor |
color of yield curve line |
lang |
language selected by the user (character) |
a plot of population size vs. 'yield'
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.