Build an autocorrelation plot by simply passing arguments to a single function
Plot.ACF(
dt = NULL,
YVar = NULL,
DateVar = NULL,
TimeUnit = NULL,
MaxLags = 50,
YVarTrans = "Identity",
AggMethod = "sum",
Height = NULL,
Width = NULL,
Title = "Autocorrelation Plot",
EchartsTheme = "macarons",
TextColor = "white",
title.fontSize = 22,
title.fontWeight = "bold",
title.textShadowColor = "#63aeff",
title.textShadowBlur = 3,
title.textShadowOffsetY = 1,
title.textShadowOffsetX = -1,
xaxis.fontSize = 14,
yaxis.fontSize = 14,
xaxis.rotate = 0,
yaxis.rotate = 0,
ContainLabel = TRUE,
Debug = FALSE
)
plot
source data.table
Y-Axis variable name
Date column in data
Select from "hour", "day", "week", "month", "quarter", "year"
Max lag values to test
"Asinh", "Log", "LogPlus1", "Sqrt", "Asin", "Logit", "PercRank", "Standardize", "BoxCox", "YeoJohnson"
Choose from 'mean', 'sum', 'sd', and 'median'
"400px"
"200px"
title
"auritus","azul","bee-inspired","blue","caravan","carp","chalk","cool","dark-bold","dark","eduardo", #' "essos","forest","fresh-cut","fruit","gray","green","halloween","helianthus","infographic","inspired", #' "jazz","london","dark","macarons","macarons2","mint","purple-passion","red-velvet","red","roma","royal", #' "sakura","shine","tech-blue","vintage","walden","wef","weforum","westeros","wonderland"
'darkblue'
22
"bold"
'#63aeff'
3
1
-1
14
14
0
0
TRUE
Debugging purposes
Adrian Antico
Other Standard Plots:
Plot.Area()
,
Plot.BarPlot3D()
,
Plot.Bar()
,
Plot.Box()
,
Plot.Copula3D()
,
Plot.Copula()
,
Plot.CorrMatrix()
,
Plot.Density()
,
Plot.Donut()
,
Plot.HeatMap()
,
Plot.Histogram()
,
Plot.Line()
,
Plot.PACF()
,
Plot.Parallel()
,
Plot.Pie()
,
Plot.ProbabilityPlot()
,
Plot.Radar()
,
Plot.River()
,
Plot.Rosetype()
,
Plot.Scatter3D()
,
Plot.Scatter()
,
Plot.StackedBar()
,
Plot.Step()
,
Plot.WordCloud()