Description Usage Arguments Value Author(s) See Also Examples
View source: R/calcNetTradeValue.R
Calculate monetary value of trade in primary energy carriers in a GDX file and return as a MagPIE object.
1 | calcNetTradeValue(gdx, variable)
|
gdx |
a GDX list as created by readGDX, or the file name of a gdx file(file name is recommended as this speeds up the code) |
variable |
one of the primary energy tyes in REMIND that ar: pecoal, pegas, peoil, pebiolc, peur |
Value (in US$2005) of trade
Niklas Roming
1 2 3 4 5 | ## Not run:
coal <- calcNetTradeValue(gdx, "pecoal")
gas <- calcNetTradeValue(gdx, "pegas")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.