Description Usage Arguments Value Examples
(ISBM/CYER) Calculate CYER and its index.
1 |
mort.df |
A data frame. The element named |
fishery.map |
A data frame. Output from |
A data frame with the estimates of catch year exploitation rate and index.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
data.path <- "../data/totalmortalityDistribution/qui_2-6"
mort.filenames <- list.files(data.path, pattern = ".csv$")
mort.filepaths <- paste(data.path, mort.filenames, sep="/")
mort.list <- readMortalityDist(mort.filepaths)
mort.df <- mort.list$data.mort.long
mort.df$year <- mort.df$CatchYear
fishery.map <- buildCMZfishery(mort.df = mort.df)
calcCYER(mort.df, fishery.map)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.