TCI: the trade complementarity index

Description Usage Arguments Value References

View source: R/TCI_INDEX.r

Description

the trade complementarity index

Usage

1
TCI(trade_data, commodity_code, Year = TRUE, country_names = NULL)

Arguments

trade_data

the tibble of trade data

commodity_code

a vector of commodity codes

Year

logical, whether split the trade_data tibble by year or not

country_names

the country names that used to calculate the TCI pairs, if its NULL then will determine automatically

Value

a TCI matrix list(split the trade data by year) or a single matrix

References

Trade Intensities and the Analysis of Bilateral Trade Flows in a Many-Country World : A Survey,1982


zlfccnu/econophysics documentation built on Feb. 23, 2022, 10:22 p.m.