recode_metric_trajectory: Replicate labels produced with qplot_*() functions

recode_metric_trajectoryR Documentation

Replicate labels produced with ⁠qplot_*()⁠ functions

Description

  • to_title() converts labels like qplot_emission_intensity().

  • recode_metric_trajectory() converts labels like qplot_trajectory().

  • recode_metric_techmix() converts labels like qplot_techmix().

  • spell_out_technology() converts technology labels like qplot_techmix().

Usage

recode_metric_trajectory(x)

Arguments

x

A character vector.

Value

A character vector.

See Also

Other plotting functions: plot_emission_intensity(), plot_techmix(), plot_trajectory(), prep_emission_intensity(), prep_techmix(), prep_trajectory(), qplot_emission_intensity(), qplot_techmix(), qplot_trajectory(), recode_metric_techmix(), scale_colour_r2dii(), scale_colour_r2dii_sector(), scale_colour_r2dii_tech(), scale_fill_r2dii(), scale_fill_r2dii_sector(), scale_fill_r2dii_tech(), spell_out_technology(), theme_2dii(), to_title()

Examples

to_title(c("a.string", "another_STRING"))

metric <- c("projected", "corporate_economy", "target_xyz", "else")
recode_metric_trajectory(metric)

recode_metric_techmix(metric)

spell_out_technology(c("gas", "ice", "coalcap", "hdv"))

pacta.loanbook documentation built on April 3, 2025, 10:37 p.m.