computeM: Compute Complexity ("M") Matrix

Description Usage Arguments

View source: R/model.R

Description

computeM takes the panel produced by computeComplexity and turns it into a matrix with the correct row (country) and column (product) names (codes). This matrix (designated in the Atlas using variable "M") is an important input for the rest of the model.

Usage

1
computeM(complexity_panel)

Arguments

complexity_panel

Data frame output from computeComplexity.


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