Plot.Residuals.Scatter {AutoPlots}R Documentation

Plot.Residuals.Scatter

Description

Residuals_2 Plot

Usage

Plot.Residuals.Scatter(
  dt = NULL,
  AggMethod = "mean",
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  MouseScroll = TRUE,
  Title = "Residual Scatterplot",
  ShowLabels = FALSE,
  Title.YAxis = "Target - Predicted",
  Title.XAxis = "Predicted",
  EchartsTheme = "macarons",
  TimeLine = FALSE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

SampleSize

numeric

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Character variable

YVarTrans

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

XVarTrans

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

FacetRows

Defaults to 1 which causes no faceting to occur vertically. Otherwise, supply a numeric value for the number of output grid rows

FacetCols

Defaults to 1 which causes no faceting to occur horizontally. Otherwise, supply a numeric value for the number of output grid columns

FacetLevels

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.

Height

"400px"

Width

"200px"

MouseScroll

logical, zoom via mouse scroll

Title

character

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

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"

TimeLine

logical

TextColor

"Not Implemented"

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: Plot.BinaryMetrics(), Plot.Calibration.Box(), Plot.Calibration.Line(), Plot.ConfusionMatrix(), Plot.Gains(), Plot.Lift(), Plot.PartialDependence.Box(), Plot.PartialDependence.HeatMap(), Plot.PartialDependence.Line(), Plot.ROC(), Plot.Residuals.Histogram(), Plot.ShapImportance(), Plot.VariableImportance()


[Package AutoPlots version 1.0.0 Index]