- x
Data frame containing, at least, the characteristics (time, location, ...), the product identifiers, the prices and the quantities.
- prodID
Character string for the name of the product identifier.
- pervar
Character string for the name of the factor variable with the characteristics.
- pvar
Character string for the name of the price variable.
- qvar
Character string for the name of the quantity variable.
- base
Character string for the name of the base characteristic.
- indexMethod
Character vector to select the price index method. Tipical price index methods are laspeyres (default), paasche, and fisher, but it can also be use those in function priceIndex
from package IndexNumR
(dutot, carli, jevons, cswd, harmonic, tornqvist, satovartia, walsh and CES).
- output
A character string specifying whether a chained (output="chained") , fixed base (output="fixedBase") or period-on-period (output="pop") price index numbers should be returned. Default is fixed base.
- ...
Further arguments passed to or from other methods.