View source: R/productionProfit.R
productionProfit | R Documentation |
calcluates aggregate producer profit based on a MAgPIE gdx file.
productionProfit(gdx, file = NULL, level = "reg", dir = ".")
gdx |
GDX file |
file |
a file name the output should be written to using write.magpie |
level |
Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in superAggregate |
dir |
for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation |
A MAgPIE object containing producers profit in million $US.
Miodrag Stevanovic
## Not run:
x <- productionProfit(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.