Plot.PACF {AutoPlots}R Documentation

Plot.PACF

Description

Build a partial autocorrelation plot by simply passing arguments to a single function

Usage

Plot.PACF(
  dt = NULL,
  YVar = NULL,
  DateVar = NULL,
  TimeUnit = NULL,
  MaxLags = 50,
  YVarTrans = "Identity",
  AggMethod = "sum",
  Height = NULL,
  Width = NULL,
  Title = "Partial 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
)

Arguments

dt

source data.table

YVar

Y-Axis variable name

DateVar

Date column in data

TimeUnit

Select from "hour", "day", "week", "month", "quarter", "year"

MaxLags

Max value for lags to test

YVarTrans

"Asinh", "Log", "LogPlus1", "Sqrt", "Asin", "Logit", "PercRank", "Standardize", "BoxCox", "YeoJohnson"

AggMethod

Choose from 'mean', 'sum', 'sd', and 'median'

Height

"400px"

Width

"200px"

Title

title

EchartsTheme

"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"

TextColor

'darkblue'

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

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: Plot.ACF(), 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.Parallel(), Plot.Pie(), Plot.ProbabilityPlot(), Plot.Radar(), Plot.River(), Plot.Rosetype(), Plot.Scatter3D(), Plot.Scatter(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud()


[Package AutoPlots version 1.0.0 Index]