bbmsy2catg | R Documentation |
Converts B/BMSY estimates to categorical statuses (e.g., underexploited, fully exploited, or overexploited).
bbmsy2catg(bbmsy, breaks = c(0.5, 1.5), catgs = c("over", "fully", "under"))
bbmsy |
A vector, matrix, or dataframe of B/BMSY estimates. |
breaks |
A vector of B/BMSY thresholds used to delineate status categories, listed in order of ascending value (e.g., 0.2, 0.5, 1.5). Default is 0.5 and 1.5 where B/BMSY < 0.5 = overexploited, 0.5 < B/BMSY < 1.5 = fully exploited, and B/BMSY > 1.5 = underexploited. |
catgs |
A vector of names for the status categories, listed in order of descending depletion (e.g, default is over, fully, under). |
A vector, matrix, or dataframe of status categories.
bbmsy <- select(preds, bbmsy, mprm, comsir, sscom, cmsy13, cmsy17, zbrt, ocom, super1)
status <- bbmsy2catg(bbmsy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.