factorCosts: factorCosts

View source: R/factorCosts.R

factorCostsR Documentation

factorCosts

Description

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

Usage

factorCosts(gdx, products = "kli", file = NULL, level = "regglo")

Arguments

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")

Value

MAgPIE object containing factor costs [million US$05]

Author(s)

Debbora Leip

Examples

## Not run: 
x <- factorCosts(gdx)

## End(Not run)


pik-piam/magpie4 documentation built on April 17, 2024, 9:22 a.m.