complexity_outlook: Complexity Outlook

View source: R/complexity_outlook.R

complexity_outlookR Documentation

Complexity Outlook

Description

complexity_outlook() computes the Complexity Outlook Index and the Complexity Outlook Gain.

Usage

complexity_outlook(balassa_index, proximity_product, complexity_index_product)

Arguments

balassa_index

(Type: dgCMatrix) the output from balassa_index()) or an equivalent arrangement.

proximity_product

(Type: dgCMatrix) the output from proximity()) or an equivalent arrangement.

complexity_index_product

(Type: numeric) the output from complexity_measures()) or an equivalent arrangement.

Details

The current implementation follows \insertCiteatlas2014economiccomplexity to measure unexploited export oppportunities.

Value

A list of two named numeric vectors.

References

For more information on this index see:

\insertRef

atlas2014economiccomplexity

and the references therein.

Examples

co <- complexity_outlook(
  economiccomplexity_output$balassa_index,
  economiccomplexity_output$proximity$proximity_product,
  economiccomplexity_output$complexity_measures$complexity_index_product
)

# partial view of complexity outlook
co$complexity_outlook_index[1:5]
co$complexity_outlook_gain[1:5, 1:5]


economiccomplexity documentation built on Aug. 8, 2023, 1:09 a.m.