TimeSeriesPlotter is a function to plot single or multiple lines on a single plot
TimeSeriesPlotter(
data = data,
TargetVariable = "TargetVariableName",
DateVariable = "DateVariableName",
GroupVariables = "GroupVariableName",
EvaluationMode = FALSE,
VLineDate = NULL,
Aggregate = NULL,
NumberGroupsDisplay = 5,
LevelsToDisplay = NULL,
OtherGroupLabel = "Other",
DisplayOtherGroup = FALSE,
TextSize = 12,
LineWidth = 1,
Color = "blue",
XTickMarks = "1 year",
AngleX = 35,
AngleY = 0,
ChartColor = "lightsteelblue1",
BorderColor = "darkblue",
TextColor = "darkblue",
GridColor = "white",
BackGroundColor = "gray95",
LegendPosition = "bottom",
LegendTextColor = "darkblue",
LegendTextSize = 10,
ForecastLineColor = "black",
PredictionIntervals = FALSE,
TS_ModelID = NULL,
SSForecast = FALSE,
PredictionIntervalColorInner = "aquamarine1",
PredictionIntervalColorOuter = "peachpuff1"
)
Source data
Target variable
Date variable
Group variables
TRUE means two lines are displayed for Actual and Forecast
Date of last actual target value
Choose from 'sum' or 'mean'
Number of lines to display
Value
Label to call all other group levels
If TRUE, a line will be shown with all levels that fall into 'other' otherwise no line will be shown
Default 12
Numeric value. Default is 1
Set to "blue", "red", etc
Number of tick marks on x-axis. "1 minute","15 minutes","30 minutes","1 hour","3 hour","6 hour","12 hour","1 day","3 day","1 week","2 week","1 month","3 month","6 month","1 year","2 year","5 year","10 year"
Angle of text on x axis
Angle of text on y axis
Color of chart background
Color of border
Text color
Grid color
Background color
Legend position
Text color
Text size
Forecast line color
Set to TRUE to plot prediction intervals
Select a model from the list for forecasting viewer
Default FALSE. Set to TRUE for single series models
Fills 20th to 80th percentiles
Fills 5th to 20th and 80th to 95th percentiles
Other Graphics:
ChartTheme()
,
RemixTheme()
,
multiplot()