ices.cod | R Documentation |
A dataset containing the assessment output for all cod stocks in the ICES areas (except cod-2224)
data(ices.cod)
A list of data frames with columns
Year
Recruitment
TBiomass
SSB
Landings
Discards
F
Meta data are attached to each data frame as attributes. These include the AssessmentYear, the stock name, the stock key and reference points, e.g. Flim, Fpa, FMSY, Bpa
For some of the cod stocks uncertainty bounds of quantity x are given as High_x and Low_x
ICES Stock Assessment Database, 2015/11. ICES, Copenhagen http://http://standardgraphs.ices.dk
addIces
for adding ICES assessment results to plots
## load the dataset
data(ices.cod)
## Select the North Sea cod (cod-347d) assessment data.frame
nscod <- ices.cod[["cod-347d"]]
## Get the Fmsy from the meta-data
fmsy <- as.numeric(attr(nscod, "FMSY"))
## Plot the F/Fmsy of North Sea cod
plot(nscod$Year, nscod$F / fmsy, type = "l", xlab = "Year", ylab = "F/Fmsy")
lines(nscod$Year, nscod$High_F / fmsy, lty = 2)
lines(nscod$Year, nscod$Low_F / fmsy, lty = 2)
## To see all available meta-data
attributes(nscod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.