View source: R/smith_fretwell_functions.R
run_smith_fretwell_model_sp2 | R Documentation |
Add a new Smith-Fretwell curve to a ggplot object created with run_smith_fretwell_model
run_smith_fretwell_model_sp2(
existing_plot,
Iymin = 6,
Womax = 0.6,
Iymax = 1000,
shapeval = 0.02
)
existing_plot |
ggplot object created with run_smith_fretwell_model that has the first (base) curve |
Iymin |
Minimum seed size for a viable offspring |
Womax |
Maximum fitness that an offspring can achieve |
Iymax |
Total amount of energy an adult has to invest into reproduction |
shapeval |
slope of the Smith-Fretwell curve |
sf_species1 <- run_smith_fretwell_model(Iymin = 3, Womax = 0.6, Iymax = 1000)
run_smith_fretwell_model_sp2(sf_species1, Iymin = 6, Womax = 0.6, Iymax = 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.