An R implementation of Hidalgo's economic complexity methodology.