Learn R Programming

pecan (version 0.1.0)

densdist: Density and Distance

Description

Compute the density and distance hausmann2006structuralpecan based on the RCA and proximity values.

Usage

densdist(RCAmat, PROXmat, measure = c("density", "distance"))

Value

A economy-by-product matrix with the measured values.

Arguments

RCAmat

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

PROXmat

A product-by-product matrix with the proximity values.

measure

A character string specifying the measure to compute:

  1. "density": the new product’s proximity to the economy's current export basket.

  2. "distance": the economy's ability to enter a specific product.

References