plot_violins_country: Plot faceted violin plots by Country for scenarios

View source: R/plot_violins_country.R

plot_violins_countryR Documentation

Plot faceted violin plots by Country for scenarios

Description

Plot faceted violin plots by Country for scenarios

Usage

plot_violins_country(
  ps = NULL,
  pidx = NULL,
  yrs = NULL,
  facet_back_cols = c("red", "blue"),
  ...
)

Arguments

ps

A plot setup object as output by setup_mse_plot_objects()

pidx

The order in which to plot the scenarios. If NULL, they will be in the order of the data.frame

yrs

The years to include in the plot. If NULL, all available data will be used

facet_back_cols

A vector of the facet text background colors

...

Extra arguments to be passed to color_facet_backgrounds()

Value

A ggplot2::ggplot() object


pacific-hake/pacifichakemse documentation built on June 11, 2024, 4:07 a.m.