computeComplexity: Compute Complexity Measure

Description Usage Arguments

View source: R/model.R

Description

computeComplexity takes country codes, product codes, and the RCA matrix, and creates the panel that will be translated into the matrix M. Each row represents a country and each column represents a product, in the standard order. If a country has RCA > 1 for some product, the entry for that country and product in M will be 1; otherwise it is 0. For more details about the matrix M, see Atlas p.25, Technical Box 2.2.

Usage

1
computeComplexity(rca_panel)

Arguments

rca_panel

Data frame output from computeRCA.


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