computeProximity: Compute Proximity Measure

Description Usage Arguments

View source: R/model.R

Description

computeProximity takes complexity (M) and the initial values of ubiquity and computes a measure of the proximity (phi) between two products. Proximity is defined as the conditional probability that a country exports one product given that it already exports another. This measurement can be used to enable visualizations of the product space. See Atlas p.52, Technical Box 5.1.

Usage

1
computeProximity(M, ubiquity_0)

Arguments

M

Matrix output of computeM.

ubiquity_0

Vector output of computeUbiquity0.


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