Description Usage Arguments Value Author(s) Examples
Plots a bar chart that shows the sum of the value column for a certain time interval.
1 2 3 4 5 6 7 8 9 10 11 12 |
data |
Data frame or matrix on which the ABC analysis is performed. |
item |
Name of the column including the item name or identifier (e.g., product name, EAN). |
item_id |
Name of the item that will be displayed. |
value |
Name of the column variable that contains the values. |
timestamp |
Name of the column including the timestamp. This column should be in POSIX or date-format. |
temporalAggregation |
Temporal aggregation for the XYZ-analysis (i.e., "day", "week", "month", "quarter", "year"). |
expand |
Indicator if the data should be expanded with time intervals that have no data. |
withTrendLine |
Indicator if a trend line should be displayed in the bar chart. |
windowLength |
Backwards window length. |
trendLineType |
If "s" the simple and if "w" the weighted moving average is calculated. |
A plotly bar chart, that shows the development of the value column.
Leon Binder leon.binder@th-deg.de
Bernhard Bauer bernhard.bauer@th-deg.de
Michael Scholz michael.scholz@th-deg.de
1 2 3 4 5 6 7 8 9 10 | data("Amount")
plotValueSeries(Amount,
item = "item",
item_id = "45186",
value = "amount",
timestamp = "date",
temporalAggregation = "week",
withTrendLine = TRUE,
windowLength = 10,
trendLineType = "w")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.