Learn R Programming

pecan (version 0.1.0)

divubq: Diversity and Ubiquity

Description

Compute the diversity/diversification and ubiquity hidalgo2009dynamicspecan based on the RCA values.

Usage

divubq(RCAmat, measure = c("diversity", "ubiquity"))

Value

A numeric vector with the measured values.

Arguments

RCAmat

An economy-by-product matrix with the RCA values.

measure

A character string specifying the measure to compute:

  1. "diversity": the number of products that an economy produces.

  2. "ubiquity": the number of economies that export that product.

References