Compute the economic complexity index (ECI) and the product complexity index (PCI) based on the RCA values.
complexity(RCAmat, method = c("eigen", "fc", "mr"), niter = 20, gamma = 1)A list containing ECI and PCI.
An economy-by-product matrix with the RCA values.
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.
An integer (default = 20) specifying the number of iterations
for method = "fc" and method = "mr".
A numeric value (default = 1) specifying the tuning parameter
for method = "fc".