Skip to contents

Generate a horizontal stacked bar chart showing the distribution of the emission risk profiles risks for one or several benchmarks.

Usage

bar_plot_emission_profile(data, benchmarks = benchmarks(), mode = modes())

Arguments

data

A data frame like without_financial.

benchmarks

A character vector specifying the benchmarks for which the emission profiles will be plotted. The user can choose from one to several benchmark(s) to be plotted.

mode

A character vector: equal_weight, best_case, worst_case.

Value

A ggplot object.

Examples

benchmarks <- c("all", "unit", "isic_4digit")
bar_plot_emission_profile(without_financial, benchmarks)