Learn R Programming

economiccomplexity (version 2.0.0)

complexity_outlook: 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)

Value

A list of two named numeric vectors.

Arguments

balassa_index

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

proximity_product

(Type: matrix) 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 atlas2014economiccomplexity to measure unexploited export oppportunities.

References

For more information on this index see:

atlas2014economiccomplexity

and the references therein.

Examples

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

# partial view of complexity outlook
n <- seq_len(5)
co$complexity_outlook_index[n]
co$complexity_outlook_gain[n, n]

Run the code above in your browser using DataLab