computeRanks: Compute Ranking Indicator (ECI/PCI)

Description Usage Arguments

View source: R/model.R

Description

computeRanks takes an M_tilde (either by country or by product) and computes the appropriate ranking indicator (either ECI or PCI) by finding the eigenvectors of M_tilde, taking the one associated with the second eigenvalue, and normalizing its values. For more details, see Atlas p.24, Technical Box 2.1.

Usage

1
computeRanks(M_tilde)

Arguments

M_tilde

Matrix output of computeMTilde.


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