View source: R/pellaTrefpts.R View source: R/FLBRP-pellaT.R
p2shape | R Documentation |
S4 generic method to calculate FMSY, BMSY, MSY and related parameters from Pella-Tomlinson model parameters. Works with both numeric vectors and FLPar objects.
p2shape(p)
p |
Shape parameter of the Pella-Tomlinson model (use NULL if specifying shape) |
r |
Intrinsic rate of population increase |
K |
Carrying capacity |
shape |
Ratio of BMSY to K (use NULL if specifying p) |
... |
Additional arguments (not used) |
For numeric inputs: a named vector (for single values) or data frame (for multiple values) For FLPar inputs: an FLPar object
# Using shape parameter (p=1 for Schaefer model)
pellatRefpts(0.2, 1000, p=1)
# Using BMSY/K ratio (0.4 is between Schaefer and Fox)
pellatRefpts(0.2, 1000, shape=0.4)
# Using vectors
pellatRefpts(c(0.2, 0.3), c(1000, 2000), p=c(1, 0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.