Description Usage Arguments Details
View source: R/scca_pre_process.R
Computes Revealed Comparative Advantage (a.k.a. Location Quotient) of a an incidence matrix (e.g. country <-> exported products)
1 | compute_rca(m, binary = TRUE)
|
m |
A data matrix |
binary |
If TRUE (default) the function returns a binary matrix with entry 1 if RCA>1 and 0 otherwise |
See: Wikipedia.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.