factorCosts | R Documentation |
reads factor costs for crops, livestock, residues or pasture entering the objective function from a MAgPIE gdx file. Depending on the product and the MAgPIE version (and factor cost realization), factor costs are either already split into labor and capital, will be split in this function, or are kept as the aggregate
factorCosts(gdx, products = "kli", file = NULL, level = "regglo")
gdx |
GDX file |
products |
products for which factor costs should be reported ("kcr", "kli", "kres", "fish", or "pasture") |
file |
a file name the output should be written to using write.magpie |
level |
Level of regional aggregation ("reg", "glo", "regglo") |
MAgPIE object containing factor costs [million US$17]
Debbora Leip
## Not run:
x <- factorCosts(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.