Description Usage Arguments Value Examples
(FP) Calculate fisheries policy (FP) scaler.
1 |
dat.er.long |
Data frame returned by |
dat.mdl.long |
Data frame returned by |
dat.spfi |
Data frame in long format with same structure as the element
|
allowMissingStocks |
A Boolean. The stocks available in the .stk file should have a matching MDL file. The function will always check for missing stocks and throw a warning if MDL stocks are missing. If this is set to FALSE the calculation stops when stocks are missing. If this is set to TRUE, the function proceeds without the missing stocks. Default is FALSE. |
A list of two data frames. First data frame comprising the FP values. Second data frame consists of the intermediate calculated fields.
1 2 3 4 5 6 | ## Not run:
dat.fp <- calc_fp(dat.er.long = dat.er.long.sub,
dat.mdl.long = dat.mdl.long.sub, dat.spfi = dat.spfi.long)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.