plot_CLD_bar: Returns an ordered plot of catch bars colored according to...

View source: R/plot_catch_current.R

plot_CLD_barR Documentation

Returns an ordered plot of catch bars colored according to F/F<sub>MSY</sub> and SSB/MSY B<sub>trigger</sub> by fish category and ecoregion

Description

Wrangling of format_sag output to obtain a dataframe with time-series of F, Fmsy, SSB and MSY B trigger for each stock in the Ecoregion, according to the last assessment (relative to the set year)

Usage

plot_CLD_bar(x, guild, caption = TRUE, cap_year, cap_month,
  return_data = FALSE)

Arguments

x

a dataframe output of stockstatus+catch_current.R

guild

an identifier of the Fisheries guild to plot

caption

logical flag

cap_year

the year to be shown in the figure caption

cap_month

the month to be shown in the figure caption, the accession date to SAG usually

return_data

a parameter indicating if the data behind the plot should be returned as a dataframe

Value

A plot

Note

Can add some helpful information here

References

The ICES stock information Database web sevices: http://sid.ices.dk/services/

See Also

plot_CLD_bar Stock status relative to reference points.

icesFO-package gives an overview of the package.

Examples

## Not run: 
plot1 <- plot_CLD_bar(CLDstatus, guild="Demersal", return_data = TRUE)

## End(Not run)


ices-tools-prod/icesFO documentation built on June 15, 2024, 4:41 a.m.