plot_trajectory {r2dii.plot} | R Documentation |
Create a trajectory plot
Description
Create a trajectory plot
Usage
plot_trajectory(data, center_y = FALSE, perc_y_scale = FALSE)
Arguments
data |
A data frame like the outputs of
|
center_y |
Logical. Use |
perc_y_scale |
Logical. |
Value
An object of class "ggplot".
See Also
Examples
# plot with `qplot_trajectory()` parameters
data <- subset(
market_share,
sector == "power" &
technology == "renewablescap" &
region == "global" &
scenario_source == "demo_2020"
) %>%
prep_trajectory()
plot_trajectory(
data,
center_y = TRUE,
perc_y_scale = TRUE
)
[Package r2dii.plot version 0.4.0 Index]