Data frame or matrix on which the ABC analysis is performed.
value
Name(s) of the column variable(s) that contains the values for the ABC and XYZ analysis.
item
Names of the columns including the item names or identifiers (e.g., product name, EAN).
timestamp
Name of the column including the timestamp. This column should be in POSIX or Date-format.
temporalAggregation
Temporal aggregation mode for the XYZ-analysis. Possible modes are 'day', 'week', 'month', 'quarter', 'year',
and 'total'. Total only aggregates by item whereas the other modes aggregate by item an temporal unit.
fiscal
consider the start of the business year. Default is set to 1 (January)
aggregationFun
Function for aggregating the value column. Default is sum.
Value
Returns a data frame with the aggregated data with the columns of item, timestamp and sum,
which is the sum of the value column.