getPlotData: getPlotData

View source: R/getPlotData.R

getPlotDataR Documentation

getPlotData

Description

Get ready-to-plot data from one or more gdx files.

Usage

getPlotData(symbolName, pathToGdx = ".", ...)

Arguments

symbolName

The name of a symbol to be extracted from gdx.

pathToGdx

Path to one or more gdx files or a a path to a folder with fulldata gdx files. If multiple paths are provided each one represents data after a specific iteration. The order of paths should match iteration order, e.g. pathToGdx[1] should hold data for the first iteration, pathToGdx[2] for the second iteration etc. If the path to a folder is given the fulldata gdx files in it are used.

...

Additional arguments passed to gdxrrw::rgdx.

Value

A data frame with data from the given gdx file(s). If multiple gdx files are provided an additional "iteration" column is added. The iteration value will be 1 for data rows from the first gdx, 2 for the second etc. The last column will always be the actual value column called <symbolName>.

Author(s)

Pascal Führlich

See Also

mipIterations, dataframeFromGdx


pik-piam/mip documentation built on April 5, 2024, 12:31 p.m.