get_image | R Documentation |
Get a graph of stock assessment output, e.g., historical stock size, recruitment, and fishing pressure.
get_image(
assessmentKey,
type = c("landings", "recruitment", "ssb", "mortality", "historical_mortality",
"historical_ssb", "historical_recruitment"),
width = 800,
...
)
assessmentKey |
the unique identifier of the stock assessment |
type |
The type of plot: values can be landings, recruitment ssb, mortality, historical_mortality, historical_ssb, historical_recruitment. |
width |
width of the image in pixels |
... |
to allow scope for back compatibility |
An array representing a bitmap.
StockList
gets a list of stocks.
FishStockReferencePoints
gets biological reference points.
icesSAG-package
gives an overview of the package.
## Not run:
assessmentKey <- findAssessmentKey("cod.27.21", year = 2022:2023)
landings_img <- get_image(assessmentKey[1], "landings")
plot(landings_img)
landings_plots <- get_image(assessmentKey, "landings")
plot(landings_plots)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.