calcTradeMargin: calcTradeMargin

View source: R/calcTradeMargin.R

calcTradeMarginR Documentation

calcTradeMargin

Description

calculate total value of trade margins from GTAP dataset

Usage

calcTradeMargin(
  gtap_version = "GTAP9",
  bilateral = FALSE,
  producer_price = "FAOini"
)

Arguments

gtap_version

type of GTAP data version

  • GTAP7

  • GTAP8

  • GTAP9

bilateral

whether bilateral trade margin should be calculated

producer_price

which producer price should be used

Value

Trade margins as an MAgPIE object

Author(s)

Xiaoxi Wang

Examples

## Not run: 
x <- calcTradeMargin("GTAP7")

## End(Not run)

pik-piam/mrland documentation built on Nov. 23, 2024, 11:37 a.m.