tornado_chart_plot: tornado_chart_plot

Description Usage Arguments

View source: R/tornado_chart_plot.R

Description

Create tornado chart of one year/variable from processed data

Usage

1
2
3
tornado_chart_plot(data, output_dir, ref_scenario, savename,
  plot_title = NULL, color_flip = F, region = NULL, width = 10,
  height = 7, break_size = 10)

Arguments

data

Dataframe/tibble of processed GCAM data

output_dir

Output directory to save charts to

ref_scenario

Scenario to use as base for tornado to start from

savename

Name to save plot under

plot_title

Title to add, defaults to no title

color_flip

Default is green above, red below. Switch to T to flip

region

String of region name to filter by

break_size

Interval of years to print on x axis, starting with minimum year in data. Default is 10 years


russellhz/gcamchartr documentation built on May 24, 2019, 7:18 a.m.