View source: R/costsProductionCrops.R
costsProductionCrops | R Documentation |
Reads data to calculate production costs for crops, costs related with investments are reported as annual average for both types (annuity, investment).
costsProductionCrops(
gdx,
file = NULL,
level = "regglo",
type = "investment",
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 gdxAggregate |
type |
Type of reporting, either "annuity" or total "investments" |
dir |
directory with mapping for disaggregation to higher resolutions |
A MAgPIE object containing values related with costs for crops production per ton produced [million US$17/tDM]
Edna Molina Bacca
## Not run:
x <- costsProductionCrops(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.