View source: R/calcTradeMargin.R
calcTradeMargin | R Documentation |
calculate total value of trade margins from GTAP dataset
calcTradeMargin(
gtap_version = "GTAP9",
bilateral = FALSE,
producer_price = "FAOini"
)
gtap_version |
type of GTAP data version
|
bilateral |
whether bilateral trade margin should be calculated |
producer_price |
which producer price should be used |
Trade margins as an MAgPIE object
Xiaoxi Wang
## Not run:
x <- calcTradeMargin("GTAP7")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.