factorCostShares: factorCostShares

View source: R/factorCostShares.R

factorCostSharesR Documentation

factorCostShares

Description

returns labor and capital cost share out of factor costs (i.e. labor + capital)

Usage

factorCostShares(
  gdx,
  type = "optimization",
  products = "kcr",
  level = "reg",
  file = NULL
)

Arguments

gdx

GDX file

type
  • "requirements": shares from factor requirements

  • "optimization": cost shares between labor and capital costs in optimization

  • "accounting": cost shares based on accounting of labor and capital costs

products

products for which cost shares should be reported, kcr or kli

level

spatial aggregation to report employment ("reg", "glo" or "regglo")

file

a file name the output should be written to using write.magpie

Value

labor and capital cost share out of factor costs

Author(s)

Debbora Leip

Examples

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

## End(Not run)

pik-piam/magpie4 documentation built on April 27, 2024, 2:12 p.m.