ccd: CCD (Caves, Christensen, and Diewert) index

View source: R/indices.R

ccdR Documentation

CCD (Caves, Christensen, and Diewert) index

Description

CCD (Caves, Christensen, and Diewert) index

Usage

ccd(P, Q)

Arguments

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).

Value

An m-vector of income (relative to minimum income).

Examples

P <- matrix(1:6, ncol = 2)
Q <- matrix(2:7, ncol = 2)
ccd(P, Q)

ErikOSorensen/pppindexr documentation built on Jan. 7, 2023, 4:11 p.m.