This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, quantile regression, and binary and multinomial classification
Plot.Area(
dt = NULL,
AggMethod = "mean",
PreAgg = TRUE,
XVar = NULL,
YVar = NULL,
DualYVar = NULL,
GroupVar = NULL,
YVarTrans = "Identity",
DualYVarTrans = "Identity",
XVarTrans = "Identity",
FacetRows = 1,
FacetCols = 1,
FacetLevels = NULL,
Height = NULL,
Width = NULL,
Title = "Line Plot",
ShowLabels = FALSE,
Title.YAxis = NULL,
Title.XAxis = NULL,
EchartsTheme = "macarons",
MouseScroll = TRUE,
TimeLine = TRUE,
Alpha = 0.5,
Smooth = TRUE,
ShowSymbol = FALSE,
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
character
logical
X-Axis variable name
Y-Axis variable name. You can supply multiple YVars
Secondary Y-Axis variables. Leave NULL for no secondary axis. Only one variable is allowed and when this is set only one YVar is allowed. An error will be thrown if those conditions are not met
One Grouping Variable
"Asinh", "Log", "LogPlus1", "Sqrt", "Asin", "Logit", "PercRank", "Standardize", "BoxCox", "YeoJohnson"
"Asinh", "Log", "LogPlus1", "Sqrt", "Asin", "Logit", "PercRank", "Standardize", "BoxCox", "YeoJohnson"
"Asinh", "Log", "LogPlus1", "Sqrt", "Asin", "Logit", "PercRank", "Standardize", "BoxCox", "YeoJohnson"
Defaults to 1 which causes no faceting to occur vertically. Otherwise, supply a numeric value for the number of output grid rows
Defaults to 1 which causes no faceting to occur horizontally. Otherwise, supply a numeric value for the number of output grid columns
Faceting rows x columns is the max number of levels allowed in a grid. If your GroupVar has more you can supply the levels to display.
"400px"
"200px"
"Title"
character
character
character
Provide an "Echarts" theme
logical, zoom via mouse scroll
Logical
0 to 1 for setting transparency
= TRUE
= FALSE
"Not Implemented"
22
"bold"
'#63aeff'
3
1
-1
14
14
0
0
TRUE
Debugging purposes
logical
Adrian Antico
Other Standard Plots:
Plot.ACF()
,
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()
# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 1000)
# Build plot
AutoPlots::Plot.Area(
dt = data,
PreAgg = FALSE,
AggMethod = "mean",
XVar = "DateTime",
YVar = "Independent_Variable3",
YVarTrans = "Identity",
DualYVar = "Independent_Variable6",
DualYVarTrans = "Identity",
GroupVar = NULL,
EchartsTheme = "macarons")
Run the code above in your browser using DataLab