Skip to contents

EKS quantity index

Usage

eks(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)
eks(P, Q)
#> [1] 1.000000 1.234129 1.477310