pmatage | R Documentation |
Calculate proportion mature population from rdat. Either proportion female-at-age (for gonochoristic) or proportion combined proportion male and female maturity at age (for protogynous)
pmatage(a.series, Mat_age1_max = 0.49, herm = "gonochoristic", age = NULL)
a.series |
life history-at-age data with naming conventions used in BAM rdat$a.series data frames. Expects column "age", "mat.female", prop.female and looks for columns "mat.male". |
Mat_age1_max |
Limit maximum value of proportion mature of first age class (usually age-0 or age-1). Models sometimes fail when maturity of first age class is too high (e.g. >0.5) |
herm |
Is the species hermaphroditic? If "gonochoristic", use female maturity. If "protogynous", use a function of male and female maturity. |
age |
Vector of ages to include |
Nikolai Klibansky
## Not run:
# Identify proportion mature-at-age
pmat <- pmatage(rdat_RedPorgy$a.series)
plot(names(pmat),pmat)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.