qplot_trajectory: Create a quick trajectory plot

Description Usage Arguments Value See Also Examples

View source: R/qplot_trajectory.R

Description

Compared to plot_trajectory() this function:

Usage

1

Arguments

data

A data frame. Requirements:

  • The structure must be like market_share.

  • The following columns must have a single value: sector, technology, region, scenario_source.

  • (Optional) If present, the column label is used for data labels.

Value

An object of class "ggplot".

See Also

plot_trajectory

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# `data` must meet documented "Requirements"
data <- subset(
  market_share,
  sector == "power" &
    technology == "renewablescap" &
    region == "global" &
    scenario_source == "demo_2020"
)

qplot_trajectory(data)

r2dii.plot documentation built on Oct. 16, 2021, 9:07 a.m.