- datasets
The user's list of data frames with subgroups of sold products. Each data frame must contain columns: time
(as Date in format: year-month-day,e.g. '2020-12-01'), prices
(as positive numeric), quantities
(as positive numeric), prodID
(as numeric, factor or character) and retID
(as numeric, factor or character).
- start
The base period (as character) limited to the year and month, e.g. "2019-12".
- end
The research period (as character) limited to the year and month, e.g. "2020-04".
- formula
The character string indicating the (final or main) price index formula is to be calculated. To see available options please use the link: PriceIndices
.
- window
The length of the time window if the multilateral index is selected (as positive integer: typically multilateral methods are based on the 13-month time window and thus the default value is 13).
- splice
A character string indicating the splicing method (if the multilateral splicing index is selected). Available options are: "movement", "window","half", "mean" and also "window_published", "half_published" and "mean_published".
- base
The prior period used in the Young- or Lowe-type price indices (as character) limited to the year and month, e.g. "2020-01".
- sigma
The elasticity of substitution parameter used in the Lloyed-Moulton and AG Mean indices (as numeric).
- aggrret
A character string indicating the formula for aggregation over outlets (retailer sale points). Available options are: "none", "laspeyres", "paasche", "geolaspeyres", "geopaasche", "fisher", "tornqvist", "arithmetic" and "geometric". The first option means that there is no aggregating over outlets. The last two options mean unweighted methods of aggregating, i.e. the arithmetic or geometric mean is used.
- aggrsets
A character string indicating the formula for aggregation over product subgroups. Available options are: "none", "laspeyres", "paasche", "geolaspeyres", "geopaasche", "fisher", "tornqvist", "arithmetic" and "geometric". The first option means that there is no aggregating over product subgroups. The last two options mean unweighted methods of aggregating, i.e. the arithmetic or geometric mean is used.
- interval
A logical value indicating whether the function is to provide the price index comparing the research period defined by end
to the base period defined by start
(then interval
is set to FALSE) or all fixed base indices are to be presented (the fixed base month is defined by start
).