productionProfit: productionProfit

View source: R/productionProfit.R

productionProfitR Documentation

productionProfit

Description

calcluates aggregate producer profit based on a MAgPIE gdx file.

Usage

productionProfit(gdx, file = NULL, level = "reg", dir = ".")

Arguments

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

dir

for gridded outputs: magpie output directory which contains a mapping file (rds or spam) disaggregation

Value

A MAgPIE object containing producers profit in million $US.

Author(s)

Miodrag Stevanovic

Examples


  ## Not run: 
    x <- productionProfit(gdx)
  
## End(Not run)


pik-piam/magpie4 documentation built on March 26, 2024, 12:03 a.m.