SRCA: the RCA and Normalized RCA

Description Usage Arguments Value

View source: R/NRCA.r

Description

the RCA and Normalized RCA

Usage

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

Arguments

trade_data

the trade dataset

commodity_code

a vector of commodity codes SITC V3

Year

whether split the trade_data set by year or aggregate the data

country_names

the countries that be used to calculate the RCA index

Value

a named vector of RCA and NRCA


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