ccd | R Documentation |
CCD (Caves, Christensen, and Diewert) index
ccd(P, Q)
P |
An m x n matrix (or dataframe) of prices (row country, column goods). |
Q |
An m x n matrix (or dataframe) of quantities (row country, column goods). |
An m-vector of income (relative to minimum income).
P <- matrix(1:6, ncol = 2) Q <- matrix(2:7, ncol = 2) ccd(P, Q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.