cid-harvard / py-ecomplexity

Python package to compute economic complexity and associated variables
MIT License
63 stars 24 forks source link

this has an R version here #11

Closed pachadotdev closed 1 year ago

pachadotdev commented 4 years ago

hi

glad to have discovered this!! I have done something very similar with extensions from recent articles here https://github.com/pachamaltese/economiccomplexity

shreyasgm commented 4 years ago

Thank you very much for your contribution! I'm going to keep this issue open till I'm able to find some time to validate your package against ours.

shreyasgm commented 1 year ago

This R version uses Fitness as the default method to calculate economic complexity, which is not appropriate for our default use case.

pachadotdev commented 1 year ago

This R version uses Fitness as the default method to calculate economic complexity, which is not appropriate for our default use case.

hi @shreyasgm

you can switch to eigenvalues or reflections by changing the parameter ;)

it's detailed here https://pacha.dev/economiccomplexity/reference/complexity_measures.html, you can write something like this

complexity_measures(
  balassa_index,
  method = "eigenvalues"
)
shreyasgm commented 1 year ago

Of course, I was referring to the default value for the method argument in complexity_measures.