Skip to contents

brand_plot_attribute_performance() facets stored performance-model results across selected attributes and compares brands using scaled_estimate.

Usage

brand_plot_attribute_performance(
  brand,
  run_name = NULL,
  attributes = NULL,
  brand_highlight = NULL,
  highlight_color = "#36c8ef",
  other_color = "grey80",
  ncol = 2
)

Arguments

brand

A g6tr_brand object.

run_name

Optional run name stored in brand$models$performance$name.

attributes

Optional character vector of attributes to plot.

brand_highlight

Optional brand to highlight.

highlight_color

Fill color for the highlighted brand.

other_color

Fill color for non-highlighted brands.

ncol

Number of facet columns.

Value

A ggplot object.