Skip to contents

Plot

Quick plots

qplot_emission_intensity()
Create a quick emission intensity plot
qplot_techmix()
Create a quick techmix plot
qplot_trajectory()
Create a quick trajectory plot

Plots

plot_emission_intensity()
Create an emission intensity plot
plot_techmix()
Create a techmix plot
plot_trajectory()
Create a trajectory plot

Preparing data

prep_emission_intensity()
Prepare data for a emission intensity plot
prep_techmix()
Prepare data for plotting technology mix
prep_trajectory()
Prepare data for a trajectory plot

Styling functions

theme_2dii()
Complete theme
scale_colour_r2dii() scale_fill_r2dii()
Custom 2DII colour and fill scales
scale_colour_r2dii_sector() scale_fill_r2dii_sector()
Custom 2DII sector colour and fill scales
scale_colour_r2dii_tech() scale_fill_r2dii_tech()
Custom 2DII technology colour and fill scales

Convert labels

to_title() recode_metric_techmix() recode_metric_trajectory() spell_out_technology()
Replicate labels produced with qplot_*() functions

Datasets

market_share
An example of a market_share-like dataset
palette_colours scenario_colours sector_colours technology_colours
Colour datasets
sda
An example of an sda-like dataset