get_custom_plot: Get a Custom Graph of Stock Assessment Output

View source: R/get_image.R

get_custom_plotR Documentation

Get a Custom Graph of Stock Assessment Output

Description

Get a custom graph of stock assessment output.

Usage

get_custom_plot(assessmentKey, type = c(15, 16, 17, 18), width = 800, ...)

Arguments

assessmentKey

the unique identifier of the stock assessment

type

The type of plot: values can be 15, 16, 17, or 18.

width

width of the image in pixels

...

to allow scope for back compatibility

Value

An array representing a bitmap.

See Also

StockList gets a list of stocks.

FishStockReferencePoints gets biological reference points.

icesSAG-package gives an overview of the package.

Examples

## Not run: 
assessmentKey <- findAssessmentKey("ane.27.9a", year = 2022)
landings_img <- get_custom_plot(assessmentKey, "15")

plot(landings_img)

landings_plots <- get_image(assessmentKey, "landings")
plot(landings_plots)

## End(Not run)


ices-tools-prod/icesSAG documentation built on Nov. 24, 2023, 1:55 a.m.