computeMTilde: Compute M-Tilde

Description Usage Arguments

View source: R/model.R

Description

computeMTilde takes the complexity (M) matrix, and the initial values of diversity and ubiquity, and computes M-tilde_pp' as it would be called in the Atlas. This is the precursor to computing the product and economic complexity indices (PCIs/ECIs). For more details, see Atlas p.24, Technical Box 2.1.

Usage

1
computeMTilde(M, diversity_0, ubiquity_0, flag)

Arguments

M

Matrix output from computeM.

diversity_0

Vector output from computeDiversity0.

ubiquity_0

Vector output from computeUbiquity0.

flag

Switch between product and country computations (can be "PCI" for product complexity or "ECI" for economic, or country, complexity).


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