Learn R Programming

pacta.loanbook (version 0.1.0)

spell_out_technology: 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

spell_out_technology(x)

Value

A character vector.

Arguments

x

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(), recode_metric_trajectory(), scale_colour_r2dii(), scale_colour_r2dii_sector(), scale_colour_r2dii_tech(), scale_fill_r2dii(), scale_fill_r2dii_sector(), scale_fill_r2dii_tech(), theme_2dii(), to_title()

Examples

Run this code
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"))

Run the code above in your browser using DataLab