Learn R Programming

pecan (version 0.1.0)

complexity: Complexity Index

Description

Compute the economic complexity index (ECI) and the product complexity index (PCI) based on the RCA values.

Usage

complexity(RCAmat, method = c("eigen", "fc", "mr"), niter = 20, gamma = 1)

Value

A list containing ECI and PCI.

Arguments

RCAmat

An economy-by-product matrix with the RCA values.

method

A character string specifying the method to calculate:

  • "eigen": the eigenvector solution hausmann2014atlaspecan.

  • "fc": fitness-complexity method tacchella2012new,pugliese2016convergencepecan.

  • "mr": method of reflections hidalgo2009building,caldarelli2012networkpecan.

niter

An integer (default = 20) specifying the number of iterations for method = "fc" and method = "mr".

gamma

A numeric value (default = 1) specifying the tuning parameter for method = "fc".

References