View source: R/CostTransport.R
CostTransport | R Documentation |
reads costs entering the objective function from a MAgPIE gdx file
CostTransport(gdx, file = NULL, level = "cell", sum = FALSE)
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 |
sum |
total costs (TRUE) or detailed costs (FALSE) |
A MAgPIE object containing the transport costs [million US$17]
David Chen
## Not run:
x <- CostTransport(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.