Description Usage Arguments Value Author(s) See Also Examples
Calculate net trade in a commodity from a GDX file and store it into a magpie object.
1 | calcNetTrade(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 traded commodities in REMIND: good, pecoal, pegas, peoil, pebiolc, peur, perm |
Trade data as MAgPIE object
Niklas Roming
1 2 3 4 5 | ## Not run:
coal <- calcNetTrade(gdx, "pecoal")
gas <- calcNetTrade(gdx, "pegas")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.