plot_techmix {pacta.loanbook} | R Documentation |
Create a techmix plot
Description
Create a techmix plot
Usage
plot_techmix(data)
Arguments
data |
A data frame like the output of |
Value
An object of class "ggplot".
See Also
Other plotting functions:
plot_emission_intensity()
,
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()
,
spell_out_technology()
,
theme_2dii()
,
to_title()
Examples
# plot with `qplot_techmix()` parameters
data <- subset(
market_share_demo,
scenario_source == "demo_2020" &
sector == "power" &
region == "global" &
metric %in% c("projected", "corporate_economy", "target_sds")
)
data <- prep_techmix(
data,
span_5yr = TRUE,
convert_label = recode_metric_techmix,
convert_tech_label = spell_out_technology
)
plot_techmix(data)
[Package pacta.loanbook version 0.1.1 Index]