compareScenarios: Read in mif and write comparison.pdf

Description Usage Arguments Author(s) Examples

View source: R/compareScenarios.R

Description

Read in all information from mif file and create the comparison.pdf

Usage

1
2
3
4
compareScenarios(mif, hist, y = c(seq(2005, 2060, 5), seq(2070, 2100,
  10)), y_hist = c(seq(1960, 2015, 1)), y_bar = c(2010, 2030, 2050,
  2100), reg = NULL, mainReg = "GLO",
  fileName = "CompareScenarios.pdf", sr15marker_RCP = NULL)

Arguments

mif

a path to one or more mif-files (might be created by confGDX2MIF)

hist

a path to one mif-file containing historical data

y

time span for the data in line plots, default: y=c(seq(2005,2060,5),seq(2070,2100,10))

y_hist

time span for the historical data in the line plots, default: c(seq(1960,2015,1))

y_bar

time slides for bar plots, default: y_bar=c(2010,2030,2050,2100)

reg

region(s) in focus, reg ="all_regi" shows all regions if the mifs contain different regions

mainReg

region to be underlined

fileName

name of the pdf, default = "CompareScenarios.pdf"

sr15marker_RCP

if given, show the corresponding marker scenarios (SSP1-5) from the SR15 database in some plots. Requires the sr15data package.

Author(s)

Lavinia Baumstark

Examples

1
## Not run: compareScenarios(mif_path)

pik-piam/remind documentation built on Jan. 17, 2020, 12:53 p.m.