computeRCA: Compute Revealed Comparative Advantage

Description Usage Arguments

View source: R/model.R

Description

computeRCA takes the prepared export data and computes the revealed comparative advantage, or RCA, matrix. Each row represents a country and each column represents a product, in the standard order. For more details about the RCA, see Atlas p.25, Technical Box 2.2.

Usage

1
computeRCA(exports_panel)

Arguments

exports_panel

Data frame containing export data.


thomnific/ecxplor documentation built on Sept. 29, 2020, 3:37 p.m.