Title: Creating Echarts Visualizations as Easy as Possible
Version: 1.5.0
Date: 2026-02-05
Author: Adrian Antico [aut, cre, cph]
Maintainer: Adrian Antico <adrianantico@gmail.com>
Description: Create beautiful and interactive visualizations in a single function call. The 'data.table' package is utilized to perform the data wrangling necessary to prepare your data for the plot types you wish to build, along with allowing fast processing for big data. There are two broad classes of plots available: standard plots and machine learning evaluation plots. There are lots of parameters available in each plot type function for customizing the plots (such as faceting) and data wrangling (such as variable transformations and aggregation).
License: AGPL (≥ 3)
URL: https://github.com/AdrianAntico/AutoPlots
BugReports: https://github.com/AdrianAntico/AutoPlots/issues
Depends: R (≥ 4.1.0)
Imports: combinat, data.table, dplyr, e1071, echarts4r, grDevices, lubridate, nortest, quanteda, quanteda.textstats, scales, stats, htmltools, htmlwidgets
Contact: Adrian Antico
Encoding: UTF-8
Language: en-US
NeedsCompilation: no
Packaged: 2026-02-06 14:42:27 UTC; Bizon
RoxygenNote: 7.3.3
Repository: CRAN
Date/Publication: 2026-02-06 15:30:09 UTC

ACF

Description

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

Usage

ACF(
  dt = NULL,
  YVar = NULL,
  DateVar = NULL,
  TimeUnit = NULL,
  MaxLags = 50,
  YVarTrans = "Identity",
  AggMethod = "sum",
  Height = NULL,
  Width = NULL,
  Theme = "dark",
  ContainLabel = TRUE,
  title.text = "Autocorrelation Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  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 lag values 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"

Theme

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

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()


Area

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

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,
  ShowLabels = FALSE,
  Smooth = TRUE,
  ShowSymbol = FALSE,
  areaStyle.color = NULL,
  areaStyle.opacity = NULL,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  title.text = "Area Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name. You can supply multiple YVars

DualYVar

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

GroupVar

One Grouping Variable

YVarTrans

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

DualYVarTrans

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

ShowLabels

character

Smooth

= TRUE

ShowSymbol

= FALSE

areaStyle.color

Fill color

areaStyle.opacity

transparency

Theme

Provide an "Echarts" theme

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 1000)

# Build plot
AutoPlots::Area(
  dt = data,
  PreAgg = TRUE,
  AggMethod = "mean",
  XVar = "DateTime",
  YVar = "Independent_Variable3",
  YVarTrans = "Identity",
  DualYVar = "Independent_Variable6",
  DualYVarTrans = "Identity",
  GroupVar = NULL,
  Theme = "macarons")


Bar

Description

Build a bar plot by simply passing arguments to a single function

Usage

Bar(
  dt = NULL,
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  LabelValues = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  backgroundStyle.color = NULL,
  backgroundStyle.opacity = NULL,
  title.text = "Bar Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

LabelValues

A vector of values. Requires PreAgg to be set to TRUE and you'll need to ensure LabelValues are ordered the same as dt. If NULL and ShowLabels is TRUE, then bar values will be displayed

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.

AggMethod

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

Height

"400px"

Width

"200px"

ShowLabels

logical

Theme

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

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

ContainLabel

TRUE

backgroundStyle.color

vector of colors

backgroundStyle.opacity

vector of opacities

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 10000)

# Echarts Bar Chart
AutoPlots::Bar(
  dt = data,
  PreAgg = TRUE,
  XVar = "Factor_1",
  YVar = "Adrian",
  GroupVar = NULL,
  LabelValues = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  Debug = FALSE)


BarPlot3D

Description

Build a 3D Bar Plot

Usage

BarPlot3D(
  dt,
  PreAgg = TRUE,
  AggMethod = "mean",
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_Y = 33,
  NumLevels_X = 33,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  ContainLabel = TRUE,
  title.text = "3D Bar Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical. Is your data pre aggregated

AggMethod

'mean', 'median', 'sum', 'sd', 'coeffvar', 'count'

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

Z-Axis variable name

YVarTrans

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

XVarTrans

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

ZVarTrans

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

NumberBins

= 21

NumLevels_Y

= 20

NumLevels_X

= 20

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

"dark-blue"

MouseScroll

logical, zoom via mouse scroll

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 10000)

# Echarts 3D Bar Chart
AutoPlots::BarPlot3D(
  dt = data,
  PreAgg = TRUE,
  AggMethod = 'mean',
  XVar = "Factor_1",
  YVar = "Factor_2",
  ZVar = "Adrian",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_Y = 33,
  NumLevels_X = 33,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  ContainLabel = TRUE,
  Debug = FALSE)


BinaryMetricsPlot

Description

Line plot of evaluation metrics across thresholds

Usage

BinaryMetricsPlot(
  dt = NULL,
  PreAgg = TRUE,
  AggMethod = "mean",
  SampleSize = 100000L,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  Metrics = c("Utility", "MCC", "Accuracy", "F1_Score", "F2_Score", "F0.5_Score",
    "ThreatScore", "TPR", "TNR", "FNR", "FPR", "FDR", "FOR"),
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  CostMatrixWeights = c(0, 1, 1, 0),
  NumberBins = 20,
  Height = NULL,
  Width = NULL,
  MouseScroll = FALSE,
  ShowLabels = FALSE,
  Theme = "dark",
  EchartsLabels = FALSE,
  TimeLine = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

AggMethod

character

SampleSize

numeric

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

Metrics

Multiple selection "Utility","MCC","Accuracy","F1_Score","F2_Score","F0.5_Score","ThreatScore","TPR","TNR","FNR","FPR","FDR","FOR"

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"

ZVarTrans

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

CostMatrixWeights

vector length 4. FP, FP, FN, TP

NumberBins

numeric

Height

"400px"

Width

"200px"

MouseScroll

logical, zoom via mouse scroll

ShowLabels

character

Theme

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

EchartsLabels

character

TimeLine

logical

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Box

Description

Build a box plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Box(
  dt = NULL,
  SampleSize = 100000L,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  itemStyle.color = NULL,
  itemStyle.opacity = NULL,
  itemStyle.borderColor = NULL,
  itemStyle.borderWidth = NULL,
  itemStyle.borderType = NULL,
  itemStyle.borderCap = NULL,
  itemStyle.shadowBlur = NULL,
  itemStyle.shadowColor = NULL,
  itemStyle.shadowOffsetX = NULL,
  itemStyle.shadowOffsetY = NULL,
  title.text = "BoxPlot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

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"

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

ContainLabel

TRUE

itemStyle.color

Fill color. Can be a single color or vector of multiple colors for gradient.

itemStyle.opacity

transparency

itemStyle.borderColor

hex or color name

itemStyle.borderWidth

numeric

itemStyle.borderType

'solid' 'dashed' 'dotted'

itemStyle.borderCap

'butt' 'round' 'square'

itemStyle.shadowBlur

numeric

itemStyle.shadowColor

hex or name

itemStyle.shadowOffsetX

numeric

itemStyle.shadowOffsetY

numeric

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = runif(10000)), GV = sample(LETTERS, 1000, TRUE))

AutoPlots::Box(
  dt = dt,
  SampleSize = 100000L,
  XVar = "GV",
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  Debug = FALSE)


Calibration.Box

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

Calibration.Box(
  dt = NULL,
  SampleSize = 100000L,
  AggMethod = "mean",
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  Height = NULL,
  Width = NULL,
  MouseScroll = FALSE,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

numeric

AggMethod

character

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.

NumberBins

numeric

Height

"400px"

Width

"200px"

MouseScroll

logical, zoom via mouse scroll

ShowLabels

character

Theme

"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

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Calibration.Line

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

Calibration.Line(
  dt = NULL,
  AggMethod = "mean",
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  MouseScroll = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

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.

NumberBins

numeric

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

"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

MouseScroll

logical, zoom via mouse scroll

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


ConfusionMatrix

Description

Generate variable importance plots

Usage

ConfusionMatrix(
  dt = NULL,
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  ZVar = "N",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_X = 50,
  NumLevels_Y = 50,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  AggMethod = "count",
  GroupVar = NULL,
  ContainLabel = TRUE,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

FALSE

XVar

Column name of X-Axis variable. If NULL then ignored

YVar

Column name of Y-Axis variable. If NULL then ignored

ZVar

= "N"

YVarTrans

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

XVarTrans

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

ZVarTrans

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

NumberBins

= 21,

NumLevels_X

= NumLevels_Y,

NumLevels_Y

= NumLevels_X,

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

AggMethod

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

GroupVar

= NULL

ContainLabel

logical

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Copula

Description

Build a copula plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Copula(
  dt = NULL,
  SampleSize = 30000L,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  AddGLM = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  title.text = "Copula Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = FALSE,
  toolbox.feature.magicType.type = NULL,
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Requires an XVar and YVar already be defined

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"

ShowLabels

character

AddGLM

logical

Theme

= "dark-blue",

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)

# Echarts Copula Plot Chart
AutoPlots::Copula(
  dt = data,
  SampleSize = 10000,
  XVar = "Independent_Variable8",
  YVar = "Adrian",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  AddGLM = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  Debug = FALSE)


Copula3D

Description

Build a 3D-copula plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Copula3D(
  dt = NULL,
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  GroupVar = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark-blue",
  TimeLine = FALSE,
  ContainLabel = TRUE,
  title.text = "3D Copula Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

Z-Axis variable name

YVarTrans

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

XVarTrans

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

ZVarTrans

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

GroupVar

Requires an XVar and YVar already be defined

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

= "dark-blue"

TimeLine

Logical

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)
data[, Independent_Variable9 := Independent_Variable9 * runif(.N)]

# Echarts Copula Plot Chart
AutoPlots::Copula3D(
  dt = data,
  SampleSize = 10000,
  XVar = "Adrian",
  YVar = "Independent_Variable9",
  ZVar = "Independent_Variable6",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  GroupVar = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  ContainLabel = TRUE,
  Debug = FALSE)


CorrMatrix

Description

Build a correlation matrix plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

CorrMatrix(
  dt = NULL,
  CorrVars = NULL,
  CorrVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Method = "spearman",
  PreAgg = TRUE,
  MaxNAPercent = 0.05,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  visualMap.show = TRUE,
  visualMap.min = -1,
  visualMap.max = 1,
  visualMap.orient = "vertical",
  visualMap.right = "2%",
  visualMap.top = "middle",
  visualMap.bottom = NULL,
  visualMap.left = NULL,
  visualMap.backgroundColor = NULL,
  visualMap.borderColor = NULL,
  visualMap.borderWidth = NULL,
  visualMap.InRange.color = NULL,
  visualMap.InRange.opacity = NULL,
  visualMap.InRange.symbol = NULL,
  visualMap.InRange.symbolSize = NULL,
  title.text = "Correlogram",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = FALSE,
  toolbox.feature.magicType.type = NULL,
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

CorrVars

vector of variable names

CorrVarTrans

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

Method

character

PreAgg

logical

MaxNAPercent

numeric

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

visualMap.show

TRUE

visualMap.min

min value

visualMap.max

max value

visualMap.orient

'vertical' 'horizontal'

visualMap.right

number

visualMap.top

number

visualMap.bottom

number

visualMap.left

number

visualMap.backgroundColor

hex or name

visualMap.borderColor

hex or name

visualMap.borderWidth

number

visualMap.InRange.color

hex or name

visualMap.InRange.opacity

number

visualMap.InRange.symbol

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

visualMap.InRange.symbolSize

number

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)

# Echarts CorrMatrix Plot Chart
AutoPlots::CorrMatrix(
  dt = data,
  PreAgg = FALSE,
  CorrVars = c(
    "Adrian",
    "Independent_Variable1",
    "Independent_Variable2",
    "Independent_Variable3",
    "Independent_Variable4",
    "Independent_Variable5"),
  CorrVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Method = 'pearson',
  MaxNAPercent = 0.05,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  Debug = FALSE)


Density

Description

Density plots, by groups, with transparent continuous plots

Usage

Density(
  dt = NULL,
  SampleSize = 100000L,
  XVar = NULL,
  XVarTrans = "Identity",
  GroupVar = NULL,
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  TimeLine = FALSE,
  showSymbol = FALSE,
  areaStyle.color = NULL,
  areaStyle.opacity = NULL,
  Height = NULL,
  Width = NULL,
  MouseScroll = FALSE,
  ShowLabels = FALSE,
  Theme = "dark",
  ContainLabel = TRUE,
  title.text = "Density Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

= 100000L

XVar

X-Axis variable name

XVarTrans

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

GroupVar

Character variable

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.

TimeLine

logical

showSymbol

logical

areaStyle.color

color or hex

areaStyle.opacity

numeric

Height

"400px"

Width

"200px"

MouseScroll

logical, zoom via mouse scroll

ShowLabels

character

Theme

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

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = runif(10000)))

# Create plot
AutoPlots::Density(
  dt = dt,
  SampleSize = 30000L,
  XVar = "Y",
  GroupVar = NULL,
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ShowLabels = FALSE,
  Debug = FALSE)


Donut

Description

Build a donut plot by simply passing arguments to a single function

Usage

Donut(
  dt = NULL,
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = TRUE,
  Theme = "dark",
  TimeLine = FALSE,
  title.text = "Donut Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "item",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

"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

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples


# Create fake data
dt <- data.table::data.table(Y = qnorm(p = runif(10000)), GV = sample(LETTERS, 1000, TRUE))

# Create plot
AutoPlots::Donut(
  dt = dt,
  PreAgg = TRUE,
  XVar = "GV",
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  Debug = FALSE)


FakeDataGenerator

Description

Create fake data for examples

Usage

FakeDataGenerator(
  Correlation = 0.7,
  N = 1000L,
  ID = 5L,
  FactorCount = 2L,
  AddDate = TRUE,
  AddComment = FALSE,
  AddWeightsColumn = FALSE,
  ZIP = 5L,
  ChainLadderData = FALSE,
  Classification = FALSE,
  MultiClass = FALSE
)

Arguments

Correlation

Set the correlation value for simulated data

N

Number of records

ID

Number of IDcols to include

FactorCount

Number of factor type columns to create

AddDate

Set to TRUE to include a date column

AddComment

Set to TRUE to add a comment column

AddWeightsColumn

Add a weights column for ML

ZIP

Zero Inflation Model target variable creation. Select from 0 to 5 to create that number of distinctly distributed data, stratifed from small to large

ChainLadderData

Set to TRUE to return Chain Ladder Data for using AutoMLChainLadderTrainer

Classification

Set to TRUE to build classification data

MultiClass

Set to TRUE to build MultiClass data

Value

data.table of data

Author(s)

Adrian Antico


Gains

Description

Create a cumulative gains chart

Usage

Gains(
  dt = NULL,
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  ZVar = "N",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 20,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

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"

ZVarTrans

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

NumberBins

numeric

Height

NULL

Width

NULL

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


HeatMap

Description

Create heat maps with numeric or categorical dt

Usage

HeatMap(
  dt,
  PreAgg = TRUE,
  AggMethod = "mean",
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_Y = 33,
  NumLevels_X = 33,
  Height = NULL,
  Width = NULL,
  Theme = "dark",
  MouseScroll = FALSE,
  ContainLabel = TRUE,
  visualMap.show = TRUE,
  visualMap.min = NULL,
  visualMap.max = NULL,
  visualMap.orient = "vertical",
  visualMap.right = "2%",
  visualMap.top = "middle",
  visualMap.bottom = NULL,
  visualMap.left = NULL,
  visualMap.backgroundColor = NULL,
  visualMap.borderColor = NULL,
  visualMap.borderWidth = NULL,
  visualMap.InRange.color = NULL,
  visualMap.InRange.opacity = NULL,
  visualMap.InRange.symbol = NULL,
  visualMap.InRange.symbolSize = NULL,
  itemStyle.borderColor = NULL,
  itemStyle.borderWidth = NULL,
  itemStyle.shadowColor = NULL,
  itemStyle.shadowBlur = NULL,
  itemStyle.shadowOffsetY = NULL,
  itemStyle.shadowOffsetX = NULL,
  itemStyle.opacity = NULL,
  itemStyle.borderRadius = NULL,
  emphasis.shadowColor = NULL,
  emphasis.shadowBlur = NULL,
  itemStyle.emphasis.label.show = NULL,
  itemStyle.emphasis.label.color = NULL,
  itemStyle.emphasis.label.fontStyle = NULL,
  itemStyle.emphasis.label.fontWeight = NULL,
  itemStyle.emphasis.label.fontFamily = NULL,
  itemStyle.emphasis.label.fontSize = NULL,
  itemStyle.emphasis.label.align = NULL,
  itemStyle.emphasis.label.verticalAlign = NULL,
  itemStyle.emphasis.label.backgroundColor = NULL,
  itemStyle.emphasis.label.borderColor = NULL,
  itemStyle.emphasis.label.borderWidth = NULL,
  itemStyle.emphasis.label.borderType = NULL,
  itemStyle.emphasis.label.borderRadius = NULL,
  itemStyle.emphasis.label.shadowColor = NULL,
  itemStyle.emphasis.label.shadowBlur = NULL,
  itemStyle.emphasis.label.shadowOffsetY = NULL,
  itemStyle.emphasis.label.shadowOffsetX = NULL,
  itemStyle.emphasis.label.width = NULL,
  itemStyle.emphasis.label.height = NULL,
  itemStyle.emphasis.label.textBorderColor = NULL,
  itemStyle.emphasis.label.textBorderWidth = NULL,
  itemStyle.emphasis.label.textShadowColor = NULL,
  itemStyle.emphasis.label.textShadowBlur = NULL,
  itemStyle.emphasis.label.textShadowOffsetY = NULL,
  itemStyle.emphasis.label.textShadowOffsetX = NULL,
  label.show = NULL,
  label.color = NULL,
  label.fontStyle = NULL,
  label.fontWeight = NULL,
  label.fontFamily = NULL,
  label.fontSize = NULL,
  label.align = NULL,
  label.verticalAlign = NULL,
  label.backgroundColor = NULL,
  label.borderColor = NULL,
  label.borderWidth = NULL,
  label.borderType = NULL,
  label.borderRadius = NULL,
  label.shadowColor = NULL,
  label.shadowBlur = NULL,
  label.shadowOffsetY = NULL,
  label.shadowOffsetX = NULL,
  label.width = NULL,
  label.height = NULL,
  label.textBorderColor = NULL,
  label.textBorderWidth = NULL,
  label.textShadowColor = NULL,
  label.textShadowBlur = NULL,
  label.textShadowOffsetY = NULL,
  label.textShadowOffsetX = NULL,
  title.text = "Heatmap",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = NULL,
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

AggMethod

'mean', 'median', 'sum', 'sd', 'coeffvar', 'count'

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

Z-Axis variable name

YVarTrans

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

XVarTrans

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

ZVarTrans

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

NumberBins

= 21

NumLevels_Y

= 20

NumLevels_X

= 20.

Height

"400px"

Width

"200px"

Theme

"dark-blue"

MouseScroll

logical, zoom via mouse scroll

ContainLabel

TRUE

visualMap.show

TRUE

visualMap.min

min value

visualMap.max

max value

visualMap.orient

'vertical' 'horizontal'

visualMap.right

number

visualMap.top

number

visualMap.bottom

number

visualMap.left

number

visualMap.backgroundColor

hex or name

visualMap.borderColor

hex or name

visualMap.borderWidth

number

visualMap.InRange.color

hex or name

visualMap.InRange.opacity

number

visualMap.InRange.symbol

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

visualMap.InRange.symbolSize

number

itemStyle.borderColor

hex or name

itemStyle.borderWidth

number

itemStyle.shadowColor

hex or name

itemStyle.shadowBlur

number

itemStyle.shadowOffsetY

number

itemStyle.shadowOffsetX

number

itemStyle.opacity

decimal

itemStyle.borderRadius

number

emphasis.shadowColor

hex or name

emphasis.shadowBlur

number

itemStyle.emphasis.label.show

logical

itemStyle.emphasis.label.color

hex or name

itemStyle.emphasis.label.fontStyle

'normal' 'italic' 'oblique'

itemStyle.emphasis.label.fontWeight

'normal' 'bold' 'bolder' 'lighter'

itemStyle.emphasis.label.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

itemStyle.emphasis.label.fontSize

number

itemStyle.emphasis.label.align

'left' 'center' 'right'

itemStyle.emphasis.label.verticalAlign

'top' 'middle' 'bottom'

itemStyle.emphasis.label.backgroundColor

hex or name

itemStyle.emphasis.label.borderColor

hex or name

itemStyle.emphasis.label.borderWidth

number

itemStyle.emphasis.label.borderType

'solid' 'dashed' 'dotted'

itemStyle.emphasis.label.borderRadius

number

itemStyle.emphasis.label.shadowColor

hex or name

itemStyle.emphasis.label.shadowBlur

number

itemStyle.emphasis.label.shadowOffsetY

number

itemStyle.emphasis.label.shadowOffsetX

number

itemStyle.emphasis.label.width

number

itemStyle.emphasis.label.height

number

itemStyle.emphasis.label.textBorderColor

hex or name

itemStyle.emphasis.label.textBorderWidth

number

itemStyle.emphasis.label.textShadowColor

hex or name

itemStyle.emphasis.label.textShadowBlur

number

itemStyle.emphasis.label.textShadowOffsetY

number

itemStyle.emphasis.label.textShadowOffsetX

number

label.show

logical

label.color

hex or name

label.fontStyle

'normal' 'italic' 'oblique'

label.fontWeight

'normal' 'bold' 'bolder' 'lighter'

label.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

label.fontSize

number

label.align

'left' 'center' 'right'

label.verticalAlign

'top' 'middle' 'bottom'

label.backgroundColor

hex or name

label.borderColor

hex or name

label.borderWidth

number

label.borderType

'solid' 'dashed' 'dotted'

label.borderRadius

number

label.shadowColor

hex or name

label.shadowBlur

number

label.shadowOffsetY

number

label.shadowOffsetX

number

label.width

number

label.height

number

label.textBorderColor

hex or name

label.textBorderWidth

number

label.textShadowColor

hex or name

label.textShadowBlur

number

label.textShadowOffsetY

number

label.textShadowOffsetX

number

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging parameter

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 10000)

# Echarts Heatmap Plot Chart
AutoPlots::HeatMap(
  dt = data,
  PreAgg = TRUE,
  XVar = "Factor_1",
  YVar = "Factor_2",
  ZVar = "Independent_Variable6",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_Y = 33,
  NumLevels_X = 33,
  Height = NULL,
  Width = NULL,
  Theme = "dark",
  MouseScroll = FALSE,
  ContainLabel = TRUE,
  Debug = FALSE)


Histogram

Description

Build a histogram plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Histogram(
  dt = NULL,
  SampleSize = 30000L,
  XVar = NULL,
  GroupVar = NULL,
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 30,
  Height = NULL,
  Width = NULL,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ShowLabels = FALSE,
  backgroundStyle.color = NULL,
  backgroundStyle.opacity = NULL,
  title.text = "Histogram",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = FALSE,
  toolbox.feature.magicType.type = NULL,
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

XVar

X-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

NumberBins

= 30

Height

"400px"

Width

"200px"

Theme

= Theme,

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

ShowLabels

FALSE

backgroundStyle.color

vector of colors

backgroundStyle.opacity

vector of opacities

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = runif(10000)))

# Create plot
AutoPlots::Histogram(
  dt = dt,
  SampleSize = 30000L,
  XVar = NULL,
  GroupVar = NULL,
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 30,
  Height = NULL,
  Width = NULL,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ShowLabels = FALSE,
  Debug = FALSE)

Lift

Description

Create a cumulative gains chart

Usage

Lift(
  dt = NULL,
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  ZVar = "N",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 20,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

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"

ZVarTrans

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

NumberBins

numeric

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Line

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

Line(
  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,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  Smooth = TRUE,
  ShowSymbol = FALSE,
  ContainLabel = TRUE,
  DarkMode = FALSE,
  lineStyle.color = NULL,
  title.text = "Line Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name. You can supply multiple YVars

DualYVar

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

GroupVar

One Grouping Variable

YVarTrans

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

DualYVarTrans

"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

NULL

Width

NULL

ShowLabels

character

Theme

Provide an "Echarts" theme

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

Smooth

= TRUE

ShowSymbol

= FALSE

ContainLabel

TRUE

DarkMode

FALSE

lineStyle.color

hex or name

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 1000)

# Build Line plot
AutoPlots::Line(
  dt = data,
  PreAgg = TRUE,
  AggMethod = "mean",
  XVar = "DateTime",
  YVar = "Independent_Variable3",
  YVarTrans = "LogPlus1",
  DualYVar = "Independent_Variable6",
  DualYVarTrans = "LogPlus1",
  GroupVar = NULL,
  Theme = "macarons")


PACF

Description

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

Usage

PACF(
  dt = NULL,
  YVar = NULL,
  DateVar = NULL,
  TimeUnit = NULL,
  MaxLags = 50,
  YVarTrans = "Identity",
  AggMethod = "sum",
  Height = NULL,
  Width = NULL,
  Theme = "dark",
  ContainLabel = TRUE,
  title.text = "Partial Autocorrelation Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  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"

Theme

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

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()


Parallel

Description

Build a parallel plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Parallel(
  dt = NULL,
  SampleSize = 50000,
  CorrVars = NULL,
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  rm_x = TRUE,
  rm_y = TRUE,
  lineStyle.color = NULL,
  lineStyle.width = NULL,
  lineStyle.type = NULL,
  lineStyle.shadowBlur = NULL,
  lineStyle.shadowColor = NULL,
  lineStyle.shadowOffsetX = NULL,
  lineStyle.shadowOffsetY = NULL,
  lineStyle.opacity = NULL,
  lineStyle.emphasis.color = "red",
  lineStyle.emphasis.width = 5,
  lineStyle.emphasis.type = NULL,
  lineStyle.emphasis.shadowBlur = 5,
  lineStyle.emphasis.shadowColor = "black",
  lineStyle.emphasis.shadowOffsetX = NULL,
  lineStyle.emphasis.shadowOffsetY = NULL,
  lineStyle.emphasis.opacity = NULL,
  title.text = "Parallel Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = FALSE,
  toolbox.feature.magicType.type = NULL,
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

Sample size

CorrVars

vector of variable names

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"

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

rm_x

logical. Remove x-axis

rm_y

logical. Remove y-axis

lineStyle.color

hex or color

lineStyle.width

number

lineStyle.type

'solid' 'dashed' 'dotted'

lineStyle.shadowBlur

number

lineStyle.shadowColor

hex or color

lineStyle.shadowOffsetX

number

lineStyle.shadowOffsetY

number

lineStyle.opacity

decimal

lineStyle.emphasis.color

hex or color

lineStyle.emphasis.width

number

lineStyle.emphasis.type

'solid' 'dashed' 'dotted'

lineStyle.emphasis.shadowBlur

number

lineStyle.emphasis.shadowColor

hex or color

lineStyle.emphasis.shadowOffsetX

number

lineStyle.emphasis.shadowOffsetY

number

lineStyle.emphasis.opacity

decimal

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create data
dt = AutoPlots::FakeDataGenerator(N = 100000)

# Create plot
AutoPlots::Parallel(
  dt = dt,
  SampleSize = 1000,
  CorrVars = c("Independent_Variable3",
               "Independent_Variable4",
               "Independent_Variable5",
               "Independent_Variable6",
               "Independent_Variable7"),
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  Debug = FALSE)


PartialDependence.Box

Description

This function automatically builds partial dependence calibration plots

Usage

PartialDependence.Box(
  dt = NULL,
  PreAgg = TRUE,
  SampleSize = 100000L,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 20,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  EchartsLabels = FALSE,
  TimeLine = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

SampleSize

numeric

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

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"

ZVarTrans

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

NumberBins

numeric

AggMethod

character

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

EchartsLabels

character

TimeLine

logical

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


PartialDependence.HeatMap

Description

This function automatically builds partial dependence calibration plots

Usage

PartialDependence.HeatMap(
  dt = NULL,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  MouseScroll = FALSE,
  Theme = "dark",
  EchartsLabels = FALSE,
  TimeLine = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

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"

ZVarTrans

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

NumberBins

numeric

AggMethod

character

Height

"400px"

Width

"200px"

ShowLabels

character

MouseScroll

logical, zoom via mouse scroll

Theme

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

EchartsLabels

character

TimeLine

logical

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


PartialDependence.Line

Description

This function automatically builds partial dependence calibration plots

Usage

PartialDependence.Line(
  dt = NULL,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  GroupVar = NULL,
  NumberBins = 20,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  EchartsLabels = FALSE,
  TimeLine = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

YVarTrans

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

XVarTrans

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

ZVarTrans

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

GroupVar

Character variable

NumberBins

numeric

AggMethod

character

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

EchartsLabels

character

TimeLine

logical

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Pie

Description

Build a pie chart by simply passing arguments to a single function

Usage

Pie(
  dt = NULL,
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = TRUE,
  Theme = "dark",
  TimeLine = FALSE,
  title.text = "Pie Chart",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "item",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

"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

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = runif(10000)), GV = sample(LETTERS, 1000, TRUE))

# Create plot
AutoPlots::Pie(
  dt = dt,
  PreAgg = TRUE,
  XVar = "GV",
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  Debug = FALSE)


Plot.ACF

Description

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

Usage

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
)

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 lag values 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: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()


Plot.Area

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

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
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name. You can supply multiple YVars

DualYVar

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

GroupVar

One Grouping Variable

YVarTrans

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

DualYVarTrans

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

Title

"Title"

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

EchartsTheme

Provide an "Echarts" theme

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

Alpha

0 to 1 for setting transparency

Smooth

= TRUE

ShowSymbol

= FALSE

TextColor

"Not Implemented"

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

Area

logical

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

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


Plot.Bar

Description

Build a bar plot by simply passing arguments to a single function

Usage

Plot.Bar(
  dt = NULL,
  PreAgg = FALSE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  LabelValues = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "Bar Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = TRUE,
  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

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

LabelValues

A vector of values. Requires PreAgg to be set to TRUE and you'll need to ensure LabelValues are ordered the same as dt. If NULL and ShowLabels is TRUE, then bar values will be displayed

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.

AggMethod

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

Height

"400px"

Width

"200px"

Title

title

ShowLabels

logical

Title.YAxis

NULL. If NULL, YVar name will be used

Title.XAxis

NULL. If NULL, XVar name will be used

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

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: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)

# Echarts Bar Chart
AutoPlots::Plot.Bar(
  dt = data,
  PreAgg = FALSE,
  XVar = "Factor_1",
  YVar = "Adrian",
  GroupVar = NULL,
  LabelValues = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  Title = 'Bar Plot',
  ShowLabels = FALSE,
  Title.YAxis = "Adrian",
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = TRUE,
  TextColor = "black",
  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.BarPlot3D

Description

Build a 3D Bar Plot

Usage

Plot.BarPlot3D(
  dt,
  PreAgg = FALSE,
  AggMethod = "mean",
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_Y = 33,
  NumLevels_X = 33,
  Height = NULL,
  Width = NULL,
  Title = "3D Bar Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "dark",
  MouseScroll = TRUE,
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  zaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical. Is your data pre aggregated

AggMethod

'mean', 'median', 'sum', 'sd', 'coeffvar', 'count'

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

Z-Axis variable name

YVarTrans

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

XVarTrans

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

ZVarTrans

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

NumberBins

= 21

NumLevels_Y

= 20

NumLevels_X

= 20

Height

"400px"

Width

"200px"

Title

"Heatmap"

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

EchartsTheme

"dark-blue"

MouseScroll

logical, zoom via mouse scroll

TextColor

character

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

yaxis.fontSize

14

xaxis.fontSize

14

zaxis.fontSize

14

xaxis.rotate

0

yaxis.rotate

0

ContainLabel

TRUE

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)

# Echarts 3D Bar Chart
AutoPlots::Plot.BarPlot3D(
  dt = data,
  PreAgg = FALSE,
  AggMethod = 'mean',
  XVar = "Factor_1",
  YVar = "Factor_2",
  ZVar = "Adrian",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_Y = 33,
  NumLevels_X = 33,
  Height = NULL,
  Width = NULL,
  Title = "3D Bar Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  zaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE)


Plot.BinaryMetrics

Description

Line plot of evaluation metrics across thresholds

Usage

Plot.BinaryMetrics(
  dt = NULL,
  PreAgg = FALSE,
  AggMethod = "mean",
  SampleSize = 100000L,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  Metrics = c("Utility", "MCC", "Accuracy", "F1_Score", "F2_Score", "F0.5_Score",
    "ThreatScore", "TPR", "TNR", "FNR", "FPR", "FDR", "FOR"),
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  CostMatrixWeights = c(0, 1, 1, 0),
  NumberBins = 20,
  Height = NULL,
  Width = NULL,
  Title = "Binary Metrics",
  MouseScroll = TRUE,
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  EchartsLabels = FALSE,
  TimeLine = TRUE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

AggMethod

character

SampleSize

numeric

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

Metrics

Multiple selection "Utility","MCC","Accuracy","F1_Score","F2_Score","F0.5_Score","ThreatScore","TPR","TNR","FNR","FPR","FDR","FOR"

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"

ZVarTrans

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

CostMatrixWeights

vector length 4. FP, FP, FN, TP

NumberBins

numeric

Height

"400px"

Width

"200px"

Title

character

MouseScroll

logical, zoom via mouse scroll

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"

EchartsLabels

character

TimeLine

logical

TextColor

hex character

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Plot.Box

Description

Build a box plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Plot.Box(
  dt = NULL,
  SampleSize = 100000L,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Title = "Box Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = 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
)

Arguments

dt

source data.table

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"

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

TextColor

character hex

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: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = stats::runif(10000)), GV = sample(LETTERS, 1000, TRUE))

AutoPlots::Plot.Box(
  dt = dt,
  SampleSize = 100000L,
  XVar = "GV",
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Title = 'Box Plot',
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  TextColor = "black",
  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.Calibration.Box

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

Plot.Calibration.Box(
  dt = NULL,
  SampleSize = 100000L,
  AggMethod = "mean",
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  Height = NULL,
  Width = NULL,
  Title = "Calibration Box",
  MouseScroll = TRUE,
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = FALSE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

numeric

AggMethod

character

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.

NumberBins

numeric

Height

"400px"

Width

"200px"

Title

character

MouseScroll

logical, zoom via mouse scroll

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: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), Plot.BinaryMetrics(), Plot.Calibration.Line(), Plot.ConfusionMatrix(), Plot.Gains(), Plot.Lift(), Plot.PartialDependence.Box(), Plot.PartialDependence.HeatMap(), Plot.PartialDependence.Line(), Plot.ROC(), Plot.Residuals.Histogram(), Plot.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Plot.Calibration.Line

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

Plot.Calibration.Line(
  dt = NULL,
  AggMethod = "mean",
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  Height = NULL,
  Width = NULL,
  Title = "Calibration Line",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = FALSE,
  MouseScroll = TRUE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

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.

NumberBins

numeric

Height

"400px"

Width

"200px"

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

MouseScroll

logical, zoom via mouse scroll

TextColor

"Not Implemented"

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

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


Plot.ConfusionMatrix

Description

Generate variable importance plots

Usage

Plot.ConfusionMatrix(
  dt = NULL,
  PreAgg = FALSE,
  XVar = NULL,
  YVar = NULL,
  ZVar = "N",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_X = 50,
  NumLevels_Y = 50,
  Height = NULL,
  Width = NULL,
  Title = "Confusion Matrix",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = TRUE,
  TextColor = "white",
  AggMethod = "count",
  GroupVar = NULL,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

FALSE

XVar

Column name of X-Axis variable. If NULL then ignored

YVar

Column name of Y-Axis variable. If NULL then ignored

ZVar

= "N"

YVarTrans

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

XVarTrans

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

ZVarTrans

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

NumberBins

= 21,

NumLevels_X

= NumLevels_Y,

NumLevels_Y

= NumLevels_X,

Height

"400px"

Width

"200px"

Title

title

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

TextColor

'darkblue'

AggMethod

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

GroupVar

= NULL

xaxis.rotate

numeric

yaxis.rotate

numeric

ContainLabel

logical

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

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


Plot.Copula

Description

Build a copula plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Plot.Copula(
  dt = NULL,
  SampleSize = 30000L,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Title = "Copula Plot",
  ShowLabels = FALSE,
  AddGLM = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  TextColor = "white",
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Requires an XVar and YVar already be defined

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"

Title

'Copula Plot'

ShowLabels

character

AddGLM

logical

Title.YAxis

character

Title.XAxis

character

EchartsTheme

= "dark-blue",

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

TextColor

'darkblue'

yaxis.fontSize

14

xaxis.fontSize

14

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

xaxis.rotate

0

yaxis.rotate

0

ContainLabel

TRUE

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)

# Echarts Copula Plot Chart
AutoPlots::Plot.Copula(
  dt = data,
  SampleSize = 10000,
  XVar = "Independent_Variable8",
  YVar = "Adrian",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Title = 'Copula Plot',
  ShowLabels = FALSE,
  AddGLM = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  TextColor = "black",
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE)


Plot.Copula3D

Description

Build a 3D-copula plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Plot.Copula3D(
  dt = NULL,
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  GroupVar = NULL,
  Height = NULL,
  Width = NULL,
  Title = "Copula 3D",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "dark-blue",
  TimeLine = FALSE,
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  zaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  zaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

Z-Axis variable name

YVarTrans

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

XVarTrans

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

ZVarTrans

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

GroupVar

Requires an XVar and YVar already be defined

Height

"400px"

Width

"200px"

Title

'Copula3D Plot'

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

EchartsTheme

= "dark-blue"

TimeLine

Logical

TextColor

'darkblue'

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

yaxis.fontSize

14

xaxis.fontSize

14

zaxis.fontSize

14

xaxis.rotate

0

yaxis.rotate

0

zaxis.rotate

0

ContainLabel

TRUE

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)
data[, Independent_Variable9 := Independent_Variable9 * stats::runif(.N)]

# Echarts Copula Plot Chart
AutoPlots::Plot.Copula3D(
  dt = data,
  SampleSize = 10000,
  XVar = "Adrian",
  YVar = "Independent_Variable9",
  ZVar = "Independent_Variable6",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  GroupVar = NULL,
  Height = NULL,
  Width = NULL,
  Title = 'Copula 3D',
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = FALSE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  zaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  zaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE)


Plot.CorrMatrix

Description

Build a correlation matrix plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Plot.CorrMatrix(
  dt = NULL,
  CorrVars = NULL,
  CorrVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Method = "spearman",
  PreAgg = FALSE,
  MaxNAPercent = 0.05,
  Height = NULL,
  Width = NULL,
  Title = "Correlation Matrix",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  Debug = FALSE
)

Arguments

dt

source data.table

CorrVars

vector of variable names

CorrVarTrans

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

Method

character

PreAgg

logical

MaxNAPercent

numeric

Height

"400px"

Width

"200px"

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"

MouseScroll

logical, zoom via mouse scroll

TextColor

character hex

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

yaxis.fontSize

14

xaxis.fontSize

14

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)

# Echarts CorrMatrix Plot Chart
AutoPlots::Plot.CorrMatrix(
  dt = data,
  CorrVars = c(
    "Adrian",
    "Independent_Variable1",
    "Independent_Variable2",
    "Independent_Variable3",
    "Independent_Variable4",
    "Independent_Variable5"),
  CorrVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Method = 'pearson',
  PreAgg = FALSE,
  MaxNAPercent = 0.05,
  Height = NULL,
  Width = NULL,
  Title = "Correlation Matrix",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  Debug = FALSE)


Plot.Density

Description

Density plots, by groups, with transparent continuous plots

Usage

Plot.Density(
  dt = NULL,
  SampleSize = 100000L,
  YVar = NULL,
  XVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  MouseScroll = TRUE,
  Title = "Density Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = 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
)

Arguments

dt

source data.table

SampleSize

= 100000L

YVar

Y-Axis variable name

XVar

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

= "Density Plot"

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

"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

Debugging purposes

Value

plot

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Donut(), Plot.HeatMap(), Plot.Histogram(), Plot.Line(), Plot.PACF(), Plot.Parallel(), Plot.Pie(), Plot.ProbabilityPlot(), Plot.Radar(), Plot.River(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = stats::runif(10000)))

# Create plot
AutoPlots::Plot.Density(
  dt = dt,
  SampleSize = 30000L,
  XVar = NULL,
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  EchartsTheme = "macarons",
  Title = "Histogram",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  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,
  Debug = FALSE)


Plot.Donut

Description

Build a donut plot by simply passing arguments to a single function

Usage

Plot.Donut(
  dt = NULL,
  PreAgg = FALSE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "Donut Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = TRUE,
  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,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

"400px"

Width

"200px"

Title

title

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

'darkblue'

title.fontSize

Defaults to size 22. Numeric. This changes the size of the title.

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

xaxis.fontSize

14

yaxis.fontSize

14

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Density(), Plot.HeatMap(), Plot.Histogram(), Plot.Line(), Plot.PACF(), Plot.Parallel(), Plot.Pie(), Plot.ProbabilityPlot(), Plot.Radar(), Plot.River(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples


# Create fake data
dt <- data.table::data.table(Y = qnorm(p = stats::runif(10000)), GV = sample(LETTERS, 1000, TRUE))

# Create plot
AutoPlots::Plot.Donut(
  dt = dt,
  PreAgg = FALSE,
  XVar = "GV",
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  Title = 'Pie Chart',
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = TRUE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  xaxis.fontSize = 14,
  yaxis.fontSize = 14,
  Debug = FALSE)


Plot.Gains

Description

Create a cumulative gains chart

Usage

Plot.Gains(
  dt = NULL,
  PreAgg = FALSE,
  XVar = NULL,
  YVar = NULL,
  ZVar = "N",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 20,
  Height = NULL,
  Width = NULL,
  Title = "Gains Plot",
  ShowLabels = FALSE,
  Title.YAxis = "Gain",
  Title.XAxis = "Population",
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = TRUE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

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"

ZVarTrans

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

NumberBins

numeric

Height

NULL

Width

NULL

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

TextColor

character hex

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

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


Plot.HeatMap

Description

Create heat maps with numeric or categorical dt

Usage

Plot.HeatMap(
  dt,
  PreAgg = FALSE,
  AggMethod = "mean",
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_Y = 33,
  NumLevels_X = 33,
  Height = NULL,
  Width = NULL,
  Title = "Heatmap",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "dark",
  MouseScroll = TRUE,
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

AggMethod

'mean', 'median', 'sum', 'sd', 'coeffvar', 'count'

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

Z-Axis variable name

YVarTrans

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

XVarTrans

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

ZVarTrans

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

NumberBins

= 21

NumLevels_Y

= 20

NumLevels_X

= 20.

Height

"400px"

Width

"200px"

Title

"Heatmap"

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

EchartsTheme

"dark-blue"

MouseScroll

logical, zoom via mouse scroll

TextColor

color

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

yaxis.fontSize

14

xaxis.fontSize

14

xaxis.rotate

0

yaxis.rotate

0

ContainLabel

TRUE

Debug

Debugging parameter

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Density(), Plot.Donut(), Plot.Histogram(), Plot.Line(), Plot.PACF(), Plot.Parallel(), Plot.Pie(), Plot.ProbabilityPlot(), Plot.Radar(), Plot.River(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)

# Echarts Heatmap Plot Chart
AutoPlots::Plot.HeatMap(
  dt = data,
  PreAgg = FALSE,
  XVar = "Factor_1",
  YVar = "Factor_2",
  ZVar = "Independent_Variable6",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_Y = 33,
  NumLevels_X = 33,
  Height = NULL,
  Width = NULL,
  Title = "Heatmap",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE)


Plot.Histogram

Description

Build a histogram plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Plot.Histogram(
  dt = NULL,
  SampleSize = 30000L,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 30,
  Height = NULL,
  Width = NULL,
  EchartsTheme = "macarons",
  Title = "Histogram",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  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,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

NumberBins

= 30

Height

"400px"

Width

"200px"

EchartsTheme

= EchartsTheme,

Title

character

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

ShowLabels

FALSE

Title.YAxis

NULL

Title.XAxis

NULL

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

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Density(), Plot.Donut(), Plot.HeatMap(), Plot.Line(), Plot.PACF(), Plot.Parallel(), Plot.Pie(), Plot.ProbabilityPlot(), Plot.Radar(), Plot.River(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = stats::runif(10000)))

# Create plot
AutoPlots::Plot.Histogram(
  dt = dt,
  SampleSize = 30000L,
  XVar = NULL,
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 30,
  Height = NULL,
  Width = NULL,
  EchartsTheme = "macarons",
  Title = "Histogram",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  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,
  Debug = FALSE)

Plot.Lift

Description

Create a cumulative gains chart

Usage

Plot.Lift(
  dt = NULL,
  PreAgg = FALSE,
  XVar = NULL,
  YVar = NULL,
  ZVar = "N",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 20,
  Height = NULL,
  Width = NULL,
  Title = "Confusion Matrix",
  ShowLabels = FALSE,
  Title.YAxis = "Lift",
  Title.XAxis = "Population",
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = TRUE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

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"

ZVarTrans

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

NumberBins

numeric

Height

"400px"

Width

"200px"

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

TextColor

character hex

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

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


Plot.Line

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

Plot.Line(
  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 = FALSE,
  TimeLine = FALSE,
  Area = FALSE,
  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,
  DarkMode = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name. You can supply multiple YVars

DualYVar

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

GroupVar

One Grouping Variable

YVarTrans

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

DualYVarTrans

"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

NULL

Width

NULL

Title

"Title"

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

EchartsTheme

Provide an "Echarts" theme

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

Area

logical

Alpha

0 to 1 for setting transparency

Smooth

= TRUE

ShowSymbol

= FALSE

TextColor

"Not Implemented"

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

DarkMode

FALSE

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Density(), Plot.Donut(), Plot.HeatMap(), Plot.Histogram(), Plot.PACF(), Plot.Parallel(), Plot.Pie(), Plot.ProbabilityPlot(), Plot.Radar(), Plot.River(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 1000)

# Build Line plot
AutoPlots::Plot.Line(
  dt = data,
  PreAgg = FALSE,
  AggMethod = "mean",
  XVar = "DateTime",
  YVar = "Independent_Variable3",
  YVarTrans = "LogPlus1",
  DualYVar = "Independent_Variable6",
  DualYVarTrans = "LogPlus1",
  GroupVar = NULL,
  EchartsTheme = "macarons")


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: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()


Plot.Parallel

Description

Build a parallel plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Plot.Parallel(
  dt = NULL,
  SampleSize = 50000,
  CorrVars = NULL,
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  PreAgg = FALSE,
  Height = NULL,
  Width = NULL,
  Title = "Parallel Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

Sample size

CorrVars

vector of variable names

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.

PreAgg

logical

Height

"400px"

Width

"200px"

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"

MouseScroll

logical, zoom via mouse scroll

TextColor

character hex

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

yaxis.fontSize

14

xaxis.fontSize

14

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Density(), Plot.Donut(), Plot.HeatMap(), Plot.Histogram(), Plot.Line(), Plot.PACF(), Plot.Pie(), Plot.ProbabilityPlot(), Plot.Radar(), Plot.River(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create data
dt = AutoPlots::FakeDataGenerator(N = 100000)

# Create plot
AutoPlots::Plot.Parallel(
  dt = dt,
  SampleSize = 1000,
  CorrVars = c("Independent_Variable3",
               "Independent_Variable4",
               "Independent_Variable5",
               "Independent_Variable6",
               "Independent_Variable7"),
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Title = "Parallel Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  Debug = FALSE)


Plot.PartialDependence.Box

Description

This function automatically builds partial dependence calibration plots

Usage

Plot.PartialDependence.Box(
  dt = NULL,
  PreAgg = FALSE,
  SampleSize = 100000L,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 20,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "Partial Dependence Box",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  EchartsLabels = FALSE,
  TimeLine = TRUE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

SampleSize

numeric

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

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"

ZVarTrans

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

NumberBins

numeric

AggMethod

character

Height

"400px"

Width

"200px"

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"

MouseScroll

logical, zoom via mouse scroll

EchartsLabels

character

TimeLine

logical

TextColor

hex character

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

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


Plot.PartialDependence.HeatMap

Description

This function automatically builds partial dependence calibration plots

Usage

Plot.PartialDependence.HeatMap(
  dt = NULL,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "Partial Dependence Heatmap",
  ShowLabels = FALSE,
  MouseScroll = TRUE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  EchartsLabels = FALSE,
  TimeLine = TRUE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

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"

ZVarTrans

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

NumberBins

numeric

AggMethod

character

Height

"400px"

Width

"200px"

Title

character

ShowLabels

character

MouseScroll

logical, zoom via mouse scroll

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"

EchartsLabels

character

TimeLine

logical

TextColor

hex character

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

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


Plot.PartialDependence.Line

Description

This function automatically builds partial dependence calibration plots

Usage

Plot.PartialDependence.Line(
  dt = NULL,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  GroupVar = NULL,
  NumberBins = 20,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "Partial Dependence Line",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  EchartsLabels = FALSE,
  TimeLine = TRUE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

character

YVarTrans

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

XVarTrans

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

ZVarTrans

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

GroupVar

Character variable

NumberBins

numeric

AggMethod

character

Height

"400px"

Width

"200px"

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"

MouseScroll

logical, zoom via mouse scroll

EchartsLabels

character

TimeLine

logical

TextColor

hex character

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

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


Plot.Pie

Description

Build a pie chart by simply passing arguments to a single function

Usage

Plot.Pie(
  dt = NULL,
  PreAgg = FALSE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "Pie Chart",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = TRUE,
  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,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

"400px"

Width

"200px"

Title

title

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

'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

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Density(), Plot.Donut(), Plot.HeatMap(), Plot.Histogram(), Plot.Line(), Plot.PACF(), Plot.Parallel(), Plot.ProbabilityPlot(), Plot.Radar(), Plot.River(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = stats::runif(10000)), GV = sample(LETTERS, 1000, TRUE))

# Create plot
AutoPlots::Plot.Pie(
  dt = dt,
  PreAgg = FALSE,
  XVar = "GV",
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  Title = 'Pie Chart',
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = TRUE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  xaxis.fontSize = 14,
  yaxis.fontSize = 14,
  Debug = FALSE)


Plot.ProbabilityPlot

Description

Build a normal probability plot

Usage

Plot.ProbabilityPlot(
  dt = NULL,
  SampleSize = 1000L,
  YVar = NULL,
  YVarTrans = "Identity",
  Height = NULL,
  Width = NULL,
  Title = "Normal Probability Plot",
  ShowLabels = FALSE,
  EchartsTheme = "macarons",
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  tooltip.trigger = "axis",
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

YVar

Y-Axis variable name

YVarTrans

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

Height

"400px"

Width

"200px"

Title

'Violin Plot'

ShowLabels

character

EchartsTheme

"macaron"

TextColor

'darkblue'

title.fontSize

Default 22

title.fontWeight

Default "bold"

title.textShadowColor

Default '#63aeff'

title.textShadowBlur

Default 3

title.textShadowOffsetY

Default 1

title.textShadowOffsetX

Default -1

yaxis.fontSize

Default 14

yaxis.rotate

Default 0

ContainLabel

Default TRUE

tooltip.trigger

Default "axis"

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Density(), Plot.Donut(), Plot.HeatMap(), Plot.Histogram(), Plot.Line(), Plot.PACF(), Plot.Parallel(), Plot.Pie(), Plot.Radar(), Plot.River(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = stats::runif(10000)))

# Create plot
AutoPlots::Plot.ProbabilityPlot(
  dt = dt,
  SampleSize = 1000L,
  YVar = "Y",
  YVarTrans = "Identity",
  Height = NULL,
  Width = NULL,
  Title = 'Normal Probability Plot',
  ShowLabels = FALSE,
  EchartsTheme = "blue",
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  tooltip.trigger = "axis",
  Debug = FALSE)


Plot.ROC

Description

ROC Plot

Usage

Plot.ROC(
  dt = NULL,
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "ROC Plot",
  ShowLabels = FALSE,
  Title.YAxis = "True Positive Rate",
  Title.XAxis = "1 - False Positive Rate",
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

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.

AggMethod

character

Height

"400px"

Width

"200px"

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

TextColor

character hex

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

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


Plot.Radar

Description

Plot.Radar

Usage

Plot.Radar(
  dt = NULL,
  AggMethod = "mean",
  PreAgg = TRUE,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  Height = NULL,
  Width = NULL,
  Title = "Radar Plot",
  ShowLabels = FALSE,
  EchartsTheme = "macarons",
  ShowSymbol = FALSE,
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  ContainLabel = TRUE,
  DarkMode = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

YVar

Y-Axis variable name. You can supply multiple YVars

GroupVar

One Grouping Variable

YVarTrans

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

Height

"400px"

Width

"200px"

Title

"Title"

ShowLabels

character

EchartsTheme

Provide an "Echarts" theme

ShowSymbol

= FALSE

TextColor

"Not Implemented"

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

ContainLabel

TRUE

DarkMode

FALSE

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Density(), Plot.Donut(), Plot.HeatMap(), Plot.Histogram(), Plot.Line(), Plot.PACF(), Plot.Parallel(), Plot.Pie(), Plot.ProbabilityPlot(), Plot.River(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create Data
dt <- data.table::data.table(Y = pnorm(q = stats::runif(8)), GV = sample(LETTERS[1:4], 8, TRUE))

# Create plot
AutoPlots::Plot.Radar(
  dt = dt,
  AggMethod = "mean",
  PreAgg = FALSE,
  YVar = "Y",
  GroupVar = "GV",
  YVarTrans = "Identity",
  Height = NULL,
  Width = NULL,
  Title = 'Radar Plot',
  ShowLabels = FALSE,
  EchartsTheme = "macarons",
  ShowSymbol = FALSE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  ContainLabel = TRUE,
  DarkMode = FALSE,
  Debug = FALSE)


Plot.Residuals.Histogram

Description

Residuals Plot

Usage

Plot.Residuals.Histogram(
  dt = NULL,
  AggMethod = "mean",
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 20,
  Height = NULL,
  Width = NULL,
  Title = "Residuals Histogram",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = "Target - Predicted",
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = 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
)

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.

NumberBins

numeric

Height

"400px"

Width

"200px"

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

TextColor

Not Implemented

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 Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


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: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Plot.River

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

Plot.River(
  dt = NULL,
  AggMethod = "mean",
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Title = "River Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = 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,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name. You can supply multiple YVars

GroupVar

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

Title

"Title"

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

EchartsTheme

Provide an "Echarts" theme

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

ShowSymbol

= FALSE

TextColor

"Not Implemented"

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

xaxis.fontSize

14

yaxis.fontSize

14

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), Plot.CorrMatrix(), Plot.Density(), Plot.Donut(), Plot.HeatMap(), Plot.Histogram(), Plot.Line(), Plot.PACF(), Plot.Parallel(), Plot.Pie(), Plot.ProbabilityPlot(), Plot.Radar(), Plot.Rosetype(), Plot.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 1000)

# Build plot
AutoPlots::Plot.River(
  dt = data,
  PreAgg = FALSE,
  AggMethod = "mean",
  XVar = "DateTime",
  YVar = c(
    "Independent_Variable1",
    "Independent_Variable2",
    "Independent_Variable3",
    "Independent_Variable4",
    "Independent_Variable5"),
  YVarTrans = "Identity",
  TextColor = "black",
  EchartsTheme = "macarons")


Plot.Rosetype

Description

Build a donut plot by simply passing arguments to a single function

Usage

Plot.Rosetype(
  dt = NULL,
  PreAgg = FALSE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "Donut Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = TRUE,
  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,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

"400px"

Width

"200px"

Title

title

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

'darkblue'

title.fontSize

Defaults to size 22. Numeric. This changes the size of the title.

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

xaxis.fontSize

14

yaxis.fontSize

14

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = stats::runif(10000)), GV = sample(LETTERS, 1000, TRUE))

# Create plot
AutoPlots::Plot.Rosetype(
  dt = dt,
  PreAgg = FALSE,
  XVar = "GV",
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  Title = 'Pie Chart',
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = TRUE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  xaxis.fontSize = 14,
  yaxis.fontSize = 14,
  Debug = FALSE)


Plot.Scatter

Description

Build a copula plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Plot.Scatter(
  dt = NULL,
  SampleSize = 30000L,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Title = "Scatter Plot",
  ShowLabels = FALSE,
  AddGLM = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  tooltip.trigger = "axis",
  Debug = FALSE
)

Arguments

dt

source data.table

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"

Title

character

ShowLabels

character

AddGLM

logical

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

TextColor

character hex

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

yaxis.fontSize

14

xaxis.fontSize

14

xaxis.rotate

0

yaxis.rotate

0

ContainLabel

TRUE

tooltip.trigger

"axis"

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)
data[, Independent_Variable8 := Independent_Variable8 * stats::runif(.N)]

# Echarts Scatter Plot Chart
AutoPlots::Plot.Scatter(
  dt = data,
  SampleSize = 10000,
  XVar = "Independent_Variable10",
  YVar = "Independent_Variable8",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Title = 'Scatter Plot',
  ShowLabels = FALSE,
  AddGLM = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "blue",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  tooltip.trigger = "axis",
  Debug = FALSE)


Plot.Scatter3D

Description

Build a 3D-copula plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Plot.Scatter3D(
  dt = NULL,
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  Title = "3D Scatter",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = FALSE,
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  zaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  zaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

Z-Axis variable name

GroupVar

Requires an XVar and YVar already be defined

YVarTrans

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

XVarTrans

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

ZVarTrans

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

Title

'Violin Plot'

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

EchartsTheme

= "macaron"

TimeLine

Logical

TextColor

'darkblue'

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

yaxis.fontSize

14

xaxis.fontSize

14

zaxis.fontSize

14

xaxis.rotate

0

yaxis.rotate

0

zaxis.rotate

0

ContainLabel

TRUE

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)
data[, Independent_Variable9 := Independent_Variable9 * stats::runif(.N)]

# Echarts Copula Plot Chart
AutoPlots::Plot.Scatter3D(
  dt = data,
  SampleSize = 10000,
  XVar = "Adrian",
  YVar = "Independent_Variable9",
  ZVar = "Independent_Variable6",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  GroupVar = NULL,
  Height = NULL,
  Width = NULL,
  Title = 'Copula 3D',
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = FALSE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  zaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  zaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE)


Plot.ShapImportance

Description

Plot.ShapImportance variable importance

Usage

Plot.ShapImportance(
  dt,
  PreAgg = FALSE,
  AggMethod = "meanabs",
  YVar = NULL,
  GroupVar = NULL,
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_X = 33,
  NumLevels_Y = 33,
  Height = NULL,
  Width = NULL,
  Title = "Shap Importance",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "dark",
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

AggMethod

"mean", "median", "sum", "sd", "skewness","kurtosis", "coeffvar", "meanabs", "medianabs", "sumabs", "sdabs", "skewnessabs", "kurtosisabs", "CoeffVarabs"

YVar

Names of shap columns

GroupVar

Name of by variable

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.

NumberBins

= 21

NumLevels_X

= 20

NumLevels_Y

= 20

Height

"400px"

Width

"200px"

Title

"Heatmap"

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

EchartsTheme

"dark-blue"

TextColor

character

Debug

= FALSE

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Plot.StackedBar

Description

Build a stacked bar plot vs a grouped bar plot

Usage

Plot.StackedBar(
  dt = NULL,
  PreAgg = FALSE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "Stacked Bar",
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  ShowLabels = FALSE,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = TRUE,
  TextColor = "white",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = "#63aeff",
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

NULL

Width

NULL

Title

title

Title.YAxis

NULL. If NULL, YVar name will be used

Title.XAxis

NULL. If NULL, XVar name will be used

ShowLabels

logical

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

TextColor

'darkblue'

title.fontSize

22

title.fontWeight

"bold"

title.textShadowColor

'#63aeff'

title.textShadowBlur

3

title.textShadowOffsetY

1

title.textShadowOffsetX

-1

yaxis.fontSize

14

xaxis.fontSize

14

xaxis.rotate

0

yaxis.rotate

0

ContainLabel

TRUE

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)

# Echarts Stacked Bar Chart
AutoPlots::Plot.StackedBar(
  dt = data,
  PreAgg = FALSE,
  XVar = "Factor_1",
  YVar = "Adrian",
  GroupVar = "Factor_2",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  Title = "Stacked Bar",
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  ShowLabels = FALSE,
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = TRUE,
  TextColor = "black",
  title.fontSize = 22,
  title.fontWeight = "bold",
  title.textShadowColor = '#63aeff',
  title.textShadowBlur = 3,
  title.textShadowOffsetY = 1,
  title.textShadowOffsetX = -1,
  yaxis.fontSize = 14,
  xaxis.fontSize = 14,
  xaxis.rotate = 0,
  yaxis.rotate = 0,
  ContainLabel = TRUE,
  Debug = FALSE)


Plot.StandardPlots

Description

Helper for standard plots

Usage

Plot.StandardPlots(
  dt = NULL,
  PreAgg = FALSE,
  PlotType = "Scatter",
  SampleSize = 100000L,
  AggMethod = "mean",
  NumberBins = 30,
  YVar = NULL,
  DualYVar = NULL,
  XVar = NULL,
  ZVar = NULL,
  GroupVar = NULL,
  YVarTrans = NULL,
  DualYVarTrans = NULL,
  XVarTrans = NULL,
  ZVarTrans = NULL,
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  EchartsTheme = "dark-blue",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  Title = NULL,
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  NumLevels_Y = 75,
  NumLevels_X = 40,
  TextColor = "white",
  FontSize = 14,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

FALSE

PlotType

character

SampleSize

character

AggMethod

character

NumberBins

For histograms

YVar

Y-Axis variable name

DualYVar

Secondary Axis for Line, Step, and Area plots

XVar

X-Axis variable name

ZVar

Z-Axis variable name

GroupVar

Character variable variable

YVarTrans

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

DualYVarTrans

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

XVarTrans

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

ZVarTrans

"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

NULL or valid css unit

Width

NULL or valid css unit

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

character

Title

character

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

NumLevels_Y

Numeric

NumLevels_X

Numeric

TextColor

character

FontSize

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Auto Plotting: Plots.ModelEvaluation()


Plot.Step

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

Plot.Step(
  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,
  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
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name. You can supply multiple YVars

DualYVar

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

GroupVar

One Grouping Variable

YVarTrans

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

DualYVarTrans

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

Title

"Title"

ShowLabels

character

Title.YAxis

character

Title.XAxis

character

EchartsTheme

Provide an "Echarts" theme

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

ShowSymbol

= FALSE

TextColor

"Not Implemented"

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: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 1000)

# Build plot
AutoPlots::Plot.Step(
  dt = data,
  PreAgg = FALSE,
  AggMethod = "mean",
  XVar = "DateTime",
  YVar = "Independent_Variable3",
  YVarTrans = "Identity",
  DualYVar = "Independent_Variable6",
  DualYVarTrans = "Identity",
  GroupVar = NULL,
  EchartsTheme = "macarons")


Plot.VariableImportance

Description

Generate variable importance plots

Usage

Plot.VariableImportance(
  dt = NULL,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "Variable Importance Plot",
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "macarons",
  TimeLine = TRUE,
  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,
  Debug = FALSE
)

Arguments

dt

source data.table

XVar

Column name of X-Axis variable. If NULL then ignored

YVar

Column name of Y-Axis variable. If NULL then ignored

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

"400px"

Width

"200px"

Title

title

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

'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

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Plot.WordCloud

Description

WordCloud plots

Usage

Plot.WordCloud(
  dt = NULL,
  YVar = NULL,
  Height = NULL,
  Width = NULL,
  Title = "Word Cloud",
  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

Height

"400px"

Width

"200px"

Title

= "Density Plot"

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

"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

Debugging purposes

Value

plot

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- FakeDataGenerator(AddComment = TRUE)

# Create plot
AutoPlots::Plot.WordCloud(
  dt = dt,
  YVar = "Comment",
  Height = NULL,
  Width = NULL,
  Title = "Word Cloud",
  EchartsTheme = "macarons",
  TextColor = "black",
  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.prROC

Description

ROC Plot

Usage

Plot.prROC(
  dt = NULL,
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  Title = "ROC Plot",
  ShowLabels = FALSE,
  Title.YAxis = "True Positive Rate",
  Title.XAxis = "1 - False Positive Rate",
  EchartsTheme = "macarons",
  MouseScroll = TRUE,
  TimeLine = FALSE,
  TextColor = "white",
  Debug = FALSE
)

Arguments

dt

source data.table

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.

AggMethod

character

Height

"400px"

Width

"200px"

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"

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

TextColor

character hex

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Plots.ModelEvaluation

Description

Plot helper for model evaluation plot types

Usage

Plots.ModelEvaluation(
  dt = NULL,
  AggMethod = "mean",
  SampleSize = 100000L,
  PlotType = NULL,
  YVar = NULL,
  TargetLevel = NULL,
  ZVar = NULL,
  XVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumLevels_Y = 75,
  NumLevels_X = 40,
  MouseScroll = FALSE,
  Height = NULL,
  Width = NULL,
  Title = NULL,
  ShowLabels = FALSE,
  Title.YAxis = NULL,
  Title.XAxis = NULL,
  EchartsTheme = "dark-blue",
  TimeLine = FALSE,
  TextColor = "white",
  FontSize = 14L,
  NumberBins = 20,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

SampleSize

100000L

PlotType

character

YVar

Y-Axis variable name

TargetLevel

character

ZVar

Z-Axis variable name

XVar

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

ZVarTrans

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

NumLevels_Y

= 75

NumLevels_X

= 40

MouseScroll

logical, zoom via mouse scroll

Height

"400px"

Width

"200px"

Title

character

ShowLabels

logical

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

hex

FontSize

numeric

NumberBins

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Auto Plotting: Plot.StandardPlots()


ProbabilityPlot

Description

Build a normal probability plot

Usage

ProbabilityPlot(
  dt = NULL,
  SampleSize = 1000L,
  YVar = NULL,
  YVarTrans = "Identity",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  ContainLabel = TRUE,
  title.text = "Probability Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

YVar

Y-Axis variable name

YVarTrans

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

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

"macaron"

ContainLabel

Default TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = runif(10000)))

# Create plot
AutoPlots::ProbabilityPlot(
  dt = dt,
  SampleSize = 1000L,
  YVar = "Y",
  YVarTrans = "Identity",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "blue",
  ContainLabel = TRUE,
  Debug = FALSE)


ROC

Description

ROC Plot

Usage

ROC(
  dt = NULL,
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

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.

AggMethod

character

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Radar

Description

Radar

Usage

Radar(
  dt = NULL,
  AggMethod = "mean",
  PreAgg = TRUE,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  ShowSymbol = FALSE,
  ContainLabel = TRUE,
  DarkMode = FALSE,
  lineStyle.color = NULL,
  title.text = "Radar Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "item",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

YVar

Y-Axis variable name. You can supply multiple YVars

GroupVar

One Grouping Variable

YVarTrans

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

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

Provide an "Echarts" theme

ShowSymbol

= FALSE

ContainLabel

TRUE

DarkMode

FALSE

lineStyle.color

hex or name for radar lines

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create Data
dt <- data.table::data.table(Y = pnorm(q = runif(8)), GV = sample(LETTERS[1:4], 8, TRUE))

# Create plot
AutoPlots::Radar(
  dt = dt,
  AggMethod = "mean",
  PreAgg = TRUE,
  YVar = "Y",
  GroupVar = "GV",
  YVarTrans = "Identity",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  ShowSymbol = FALSE,
  ContainLabel = TRUE,
  DarkMode = FALSE,
  Debug = FALSE)


Residuals.Histogram

Description

Residuals Plot

Usage

Residuals.Histogram(
  dt = NULL,
  AggMethod = "mean",
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 20,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  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.

NumberBins

numeric

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

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

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

ContainLabel

TRUE

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Scatter(), ShapImportance(), VariableImportance()


Residuals.Scatter

Description

Residuals_2 Plot

Usage

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 = FALSE,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  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

ShowLabels

character

Theme

"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

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), ShapImportance(), VariableImportance()


River

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

River(
  dt = NULL,
  AggMethod = "mean",
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ShowSymbol = FALSE,
  itemStyle.color = NULL,
  title.text = "River Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = FALSE,
  toolbox.feature.dataZoom.show = FALSE,
  toolbox.feature.magicType.show = FALSE,
  toolbox.feature.magicType.type = NULL,
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name. You can supply multiple YVars

GroupVar

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

ShowLabels

character

Theme

Provide an "Echarts" theme

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

ShowSymbol

= FALSE

itemStyle.color

color or hex

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

dates <- seq.Date(Sys.Date() - 30, Sys.Date(), by = "day")
grps <- lapply(LETTERS[1:5], rep, 31) |> unlist()
dt <- data.table::data.table(
  dates = rep(dates, 5),
  groups = grps,
  values = runif(length(grps), 1, 50)
)

# Build Plot
AutoPlots::River(
  dt = dt,
  PreAgg = TRUE,
  XVar = "dates",
  YVar = "values",
  GroupVar = "groups",
  legend.orient = "horizontal",
  itemStyle.color = c("#FF4C4C", "#00BFFF", "#FFD700", "#32CD32", "#FF69B4")
)


Rosetype

Description

Build a donut plot by simply passing arguments to a single function

Usage

Rosetype(
  dt = NULL,
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = TRUE,
  Theme = "dark",
  TimeLine = FALSE,
  title.text = "Rosetype Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "item",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = FALSE,
  toolbox.feature.magicType.show = FALSE,
  toolbox.feature.magicType.type = NULL,
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

"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

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Scatter(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = runif(10000)), GV = sample(LETTERS, 1000, TRUE))

# Create plot
AutoPlots::Rosetype(
  dt = dt,
  PreAgg = TRUE,
  XVar = "GV",
  YVar = "Y",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  Debug = FALSE)


Scatter

Description

Build a copula plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Scatter(
  dt = NULL,
  SampleSize = 30000L,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  AddGLM = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  title.text = "Scatter Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = FALSE,
  toolbox.feature.magicType.type = NULL,
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

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"

ShowLabels

character

AddGLM

logical

Theme

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

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter3D(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)
data[, Independent_Variable8 := Independent_Variable8 * runif(.N)]

# Echarts Scatter Plot Chart
AutoPlots::Scatter(
  dt = data,
  SampleSize = 10000,
  XVar = "Independent_Variable10",
  YVar = "Independent_Variable8",
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  AddGLM = FALSE,
  Theme = "blue",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  Debug = FALSE)


Scatter3D

Description

Build a 3D-copula plot by simply passing arguments to a single function. It will sample your data using SampleSize number of rows. Sampled data is randomized.

Usage

Scatter3D(
  dt = NULL,
  SampleSize = 1e+05,
  XVar = NULL,
  YVar = NULL,
  ZVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  ContainLabel = TRUE,
  title.text = "3D Scatter Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

SampleSize

An integer for the number of rows to use. Sampled data is randomized. If NULL then ignored

XVar

X-Axis variable name

YVar

Y-Axis variable name

ZVar

Z-Axis variable name

GroupVar

Requires an XVar and YVar already be defined

YVarTrans

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

XVarTrans

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

ZVarTrans

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

ShowLabels

character

Theme

= "macaron"

TimeLine

Logical

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), StackedBar(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 100000)
data[, Independent_Variable9 := Independent_Variable9 * runif(.N)]

# Echarts Copula Plot Chart
AutoPlots::Scatter3D(
  dt = data,
  SampleSize = 10000,
  XVar = "Adrian",
  YVar = "Independent_Variable9",
  ZVar = "Independent_Variable6",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  ZVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  GroupVar = NULL,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  ContainLabel = TRUE,
  Debug = FALSE)


ShapImportance

Description

ShapImportance variable importance

Usage

ShapImportance(
  dt,
  PreAgg = TRUE,
  AggMethod = "meanabs",
  YVar = NULL,
  GroupVar = NULL,
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  NumberBins = 21,
  NumLevels_X = 33,
  NumLevels_Y = 33,
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

AggMethod

"mean", "median", "sum", "sd", "skewness","kurtosis", "coeffvar", "meanabs", "medianabs", "sumabs", "sdabs", "skewnessabs", "kurtosisabs", "CoeffVarabs"

YVar

Names of shap columns

GroupVar

Name of by variable

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.

NumberBins

= 21

NumLevels_X

= 20

NumLevels_Y

= 20

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

"dark-blue"

Debug

= FALSE

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), VariableImportance()


StackedBar

Description

Build a stacked bar plot vs a grouped bar plot

Usage

StackedBar(
  dt = NULL,
  PreAgg = TRUE,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  title.text = "Stacked Bar Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

NULL

Width

NULL

ShowLabels

logical

Theme

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

MouseScroll

logical, zoom via mouse scroll

TimeLine

logical

ContainLabel

TRUE

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), Step(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 10000)

# Echarts Stacked Bar Chart
AutoPlots::StackedBar(
  dt = data,
  PreAgg = TRUE,
  XVar = "Factor_1",
  YVar = "Adrian",
  GroupVar = "Factor_2",
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = 'mean',
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ContainLabel = TRUE,
  Debug = FALSE)


Step

Description

This function automatically builds calibration plots and calibration boxplots for model evaluation using regression, stats::quantile regression, and binary and multinomial classification

Usage

Step(
  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,
  ShowLabels = FALSE,
  Theme = "dark",
  MouseScroll = FALSE,
  TimeLine = FALSE,
  ShowSymbol = FALSE,
  ContainLabel = TRUE,
  lineStyle.color = NULL,
  title.text = "Step Plot",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  xAxis.title = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 25,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = "bolder",
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = "Segoe UI",
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = "Segoe UI",
  xAxis.axisLabel.fontSize = 14,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL,
  yAxis.title = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.position = "center",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 25,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = "bolder",
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = "Segoe UI",
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = "Segoe UI",
  yAxis.axisLabel.fontSize = 14,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL,
  legend.show = TRUE,
  legend.type = "scroll",
  legend.selector = NULL,
  legend.icon = NULL,
  legend.align = NULL,
  legend.padding = NULL,
  legend.itemGap = NULL,
  legend.itemWidth = NULL,
  legend.orient = "vertical",
  legend.width = NULL,
  legend.height = NULL,
  legend.left = NULL,
  legend.right = 10,
  legend.top = 30,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = "Segoe UI",
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = "Segoe UI",
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = "Segoe UI",
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = "Segoe UI",
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

AggMethod

character

PreAgg

logical

XVar

X-Axis variable name

YVar

Y-Axis variable name. You can supply multiple YVars

DualYVar

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

GroupVar

One Grouping Variable

YVarTrans

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

DualYVarTrans

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

ShowLabels

character

Theme

Provide an "Echarts" theme

MouseScroll

logical, zoom via mouse scroll

TimeLine

Logical

ShowSymbol

= FALSE

ContainLabel

TRUE

lineStyle.color

hex or name

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

xAxis.title

Axis title

xAxis.min

Min value

xAxis.max

Max value

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

yAxis.title

Axis title

yAxis.min

Min value

yAxis.max

Max value

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

tooltip.show

logical

tooltip.trigger

"axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

valid family name

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), WordCloud()

Examples

# Create fake data
data <- AutoPlots::FakeDataGenerator(N = 1000)

# Build plot
AutoPlots::Step(
  dt = data,
  PreAgg = TRUE,
  AggMethod = "mean",
  XVar = "DateTime",
  YVar = "Independent_Variable3",
  YVarTrans = "Identity",
  DualYVar = "Independent_Variable6",
  DualYVarTrans = "Identity",
  GroupVar = NULL,
  Theme = "macarons")


VariableImportance

Description

Generate variable importance plots

Usage

VariableImportance(
  dt = NULL,
  XVar = NULL,
  YVar = NULL,
  GroupVar = NULL,
  YVarTrans = "Identity",
  XVarTrans = "Identity",
  FacetRows = 1,
  FacetCols = 1,
  FacetLevels = NULL,
  AggMethod = "mean",
  Height = NULL,
  Width = NULL,
  ShowLabels = FALSE,
  Theme = "dark",
  TimeLine = FALSE,
  Debug = FALSE
)

Arguments

dt

source data.table

XVar

Column name of X-Axis variable. If NULL then ignored

YVar

Column name of Y-Axis variable. If NULL then ignored

GroupVar

Column name of Group Variable for distinct colored histograms by group levels

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.

AggMethod

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

Height

"400px"

Width

"200px"

ShowLabels

character

Theme

"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

Debug

Debugging purposes

Value

plot

Author(s)

Adrian Antico

See Also

Other Model Evaluation: BinaryMetricsPlot(), Calibration.Box(), Calibration.Line(), ConfusionMatrix(), Gains(), Lift(), PartialDependence.Box(), PartialDependence.HeatMap(), PartialDependence.Line(), 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.Residuals.Scatter(), Plot.ShapImportance(), Plot.VariableImportance(), Plot.prROC(), ROC(), Residuals.Histogram(), Residuals.Scatter(), ShapImportance()


WordCloud

Description

WordCloud plots

Usage

WordCloud(
  dt = NULL,
  YVar = NULL,
  Height = NULL,
  Width = NULL,
  Theme = "dark",
  title.text = "Word Cloud",
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = "Segoe UI",
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = "Segoe UI",
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL,
  Debug = FALSE
)

Arguments

dt

source data.table

YVar

Y-Axis variable name

Height

"400px"

Width

"200px"

Theme

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

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

Debug

Debugging purposes

Value

plot

See Also

Other Standard Plots: ACF(), Area(), Bar(), BarPlot3D(), Box(), Copula(), Copula3D(), CorrMatrix(), Density(), Donut(), HeatMap(), Histogram(), Line(), PACF(), Parallel(), Pie(), Plot.ACF(), Plot.Area(), Plot.Bar(), Plot.BarPlot3D(), Plot.Box(), Plot.Copula(), Plot.Copula3D(), 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.Scatter(), Plot.Scatter3D(), Plot.StackedBar(), Plot.Step(), Plot.WordCloud(), ProbabilityPlot(), Radar(), River(), Rosetype(), Scatter(), Scatter3D(), StackedBar(), Step()

Examples

# Create fake data
dt <- FakeDataGenerator(AddComment = TRUE)

# Create plot
AutoPlots::WordCloud(
  dt = dt,
  YVar = "Comment",
  Height = NULL,
  Width = NULL,
  Theme = "dark",
  Debug = FALSE)


Display a Series of Plots in a Styled HTML Grid with Columns

Description

Display a Series of Plots in a Styled HTML Grid with Columns

Usage

display_plots_grid(
  plots,
  cols = NULL,
  container_class = "plot-card",
  grid_class = "plot-grid"
)

Arguments

plots

A list of echarts4r plots (or htmlwidgets).

cols

Number of columns (positive integer) or NULL for auto-fit.

container_class

CSS class for each plot container.

grid_class

CSS class for the grid layout container.

Value

A browsable HTML grid for use in Rmarkdown, Shiny, or viewer pane.


Enhanced area Setter for echarts4r

Description

Exposes every area* option so you don't have to hand-craft the JSON.

Usage

e_area_full(
  e = NULL,
  serie = NULL,
  smooth = NULL,
  showSymbol = NULL,
  areaStyle.color = NULL,
  areaStyle.opacity = NULL
)

Arguments

e

plot object

serie

Variable

smooth

Smooth line

showSymbol

Logical

areaStyle.color

Fill color. Can be a single color or vector of multiple colors for gradient.

areaStyle.opacity

transparency

Value

The modified echarts4r object


Enhanced area Setter for echarts4r

Description

Exposes every area* option so you don't have to hand-craft the JSON.

Usage

e_bar_full(
  e = NULL,
  serie = NULL,
  label = FALSE,
  backgroundStyle.color = NULL,
  backgroundStyle.opacity = NULL
)

Arguments

e

plot object

serie

Variable

label

Logical

backgroundStyle.color

Fill color. Can be a single color or vector of multiple colors for gradient.

backgroundStyle.opacity

transparency

Value

The modified echarts4r object


Enhanced area Setter for echarts4r

Description

Exposes every area* option so you don't have to hand-craft the JSON.

Usage

e_boxplot_full(
  e = NULL,
  serie = NULL,
  label = FALSE,
  itemStyle.color = NULL,
  itemStyle.opacity = NULL,
  itemStyle.borderColor = NULL,
  itemStyle.borderWidth = NULL,
  itemStyle.borderType = NULL,
  itemStyle.borderCap = NULL,
  itemStyle.shadowBlur = NULL,
  itemStyle.shadowColor = NULL,
  itemStyle.shadowOffsetX = NULL,
  itemStyle.shadowOffsetY = NULL
)

Arguments

e

plot object

serie

Variable

label

Logical

itemStyle.color

Fill color. Can be a single color or vector of multiple colors for gradient.

itemStyle.opacity

transparency

itemStyle.borderColor

hex or color name

itemStyle.borderWidth

numeric

itemStyle.borderType

'solid' 'dashed' 'dotted'

itemStyle.borderCap

'butt' 'round' 'square'

itemStyle.shadowBlur

numeric

itemStyle.shadowColor

hex or name

itemStyle.shadowOffsetX

numeric

itemStyle.shadowOffsetY

numeric

Value

The modified echarts4r object


Enhanced area Setter for echarts4r

Description

Exposes every area* option so you don't have to hand-craft the JSON.

Usage

e_density_full(
  e = NULL,
  serie = NULL,
  smooth = NULL,
  showSymbol = NULL,
  areaStyle.color = NULL,
  areaStyle.opacity = NULL
)

Arguments

e

plot object

serie

Variable

smooth

Smooth line

showSymbol

Logical

areaStyle.color

Fill color. Can be a single color or vector of multiple colors for gradient.

areaStyle.opacity

transparency

Value

The modified echarts4r object


grid function

Description

exposed parameters for grid. Use to control plot margins/size so long axis labels don't get truncated.

Usage

e_grid_full(
  e = NULL,
  grid.show = NULL,
  grid.left = NULL,
  grid.top = NULL,
  grid.right = NULL,
  grid.bottom = NULL,
  grid.width = NULL,
  grid.height = NULL,
  grid.containLabel = NULL,
  grid.backgroundColor = NULL,
  grid.borderColor = NULL,
  grid.borderWidth = NULL,
  grid.shadowBlur = NULL,
  grid.shadowColor = NULL,
  grid.shadowOffsetX = NULL,
  grid.shadowOffsetY = NULL,
  grid.z = NULL,
  grid.zlevel = NULL,
  grid.silent = NULL
)

Arguments

e

existing plot

grid.show

logical

grid.left

numeric or character px or percent

grid.top

numeric or character

grid.right

numeric or character

grid.bottom

numeric or character

grid.width

numeric or character

grid.height

numeric or character

grid.containLabel

logical (TRUE leaves space for axis labels)

grid.backgroundColor

hex or named color

grid.borderColor

hex or named color

grid.borderWidth

numeric

grid.shadowBlur

numeric

grid.shadowColor

hex or named color

grid.shadowOffsetX

numeric

grid.shadowOffsetY

numeric

grid.z

numeric

grid.zlevel

numeric

grid.silent

logical

Value

The modified echarts4r object


Heatmap customization

Description

Expose most heatmap options

Usage

e_heatmap_full(
  e,
  y,
  z,
  itemStyle.borderColor = NULL,
  itemStyle.borderWidth = NULL,
  itemStyle.shadowColor = NULL,
  itemStyle.shadowBlur = NULL,
  itemStyle.shadowOffsetY = NULL,
  itemStyle.shadowOffsetX = NULL,
  itemStyle.opacity = NULL,
  itemStyle.borderRadius = NULL,
  emphasis.shadowColor = NULL,
  emphasis.shadowBlur = NULL,
  itemStyle.emphasis.label.show = NULL,
  itemStyle.emphasis.label.color = NULL,
  itemStyle.emphasis.label.fontStyle = NULL,
  itemStyle.emphasis.label.fontWeight = NULL,
  itemStyle.emphasis.label.fontFamily = NULL,
  itemStyle.emphasis.label.fontSize = NULL,
  itemStyle.emphasis.label.align = NULL,
  itemStyle.emphasis.label.verticalAlign = NULL,
  itemStyle.emphasis.label.backgroundColor = NULL,
  itemStyle.emphasis.label.borderColor = NULL,
  itemStyle.emphasis.label.borderWidth = NULL,
  itemStyle.emphasis.label.borderType = NULL,
  itemStyle.emphasis.label.borderRadius = NULL,
  itemStyle.emphasis.label.shadowColor = NULL,
  itemStyle.emphasis.label.shadowBlur = NULL,
  itemStyle.emphasis.label.shadowOffsetY = NULL,
  itemStyle.emphasis.label.shadowOffsetX = NULL,
  itemStyle.emphasis.label.width = NULL,
  itemStyle.emphasis.label.height = NULL,
  itemStyle.emphasis.label.textBorderColor = NULL,
  itemStyle.emphasis.label.textBorderWidth = NULL,
  itemStyle.emphasis.label.textShadowColor = NULL,
  itemStyle.emphasis.label.textShadowBlur = NULL,
  itemStyle.emphasis.label.textShadowOffsetY = NULL,
  itemStyle.emphasis.label.textShadowOffsetX = NULL,
  label.show = NULL,
  label.color = NULL,
  label.fontStyle = NULL,
  label.fontWeight = NULL,
  label.fontFamily = NULL,
  label.fontSize = NULL,
  label.align = NULL,
  label.verticalAlign = NULL,
  label.backgroundColor = NULL,
  label.borderColor = NULL,
  label.borderWidth = NULL,
  label.borderType = NULL,
  label.borderRadius = NULL,
  label.shadowColor = NULL,
  label.shadowBlur = NULL,
  label.shadowOffsetY = NULL,
  label.shadowOffsetX = NULL,
  label.width = NULL,
  label.height = NULL,
  label.textBorderColor = NULL,
  label.textBorderWidth = NULL,
  label.textShadowColor = NULL,
  label.textShadowBlur = NULL,
  label.textShadowOffsetY = NULL,
  label.textShadowOffsetX = NULL
)

Arguments

e

existing plot variable

y

YVar

z

ZVar

itemStyle.borderColor

hex or name

itemStyle.borderWidth

number

itemStyle.shadowColor

hex or name

itemStyle.shadowBlur

number

itemStyle.shadowOffsetY

number

itemStyle.shadowOffsetX

number

itemStyle.opacity

decimal

itemStyle.borderRadius

number

emphasis.shadowColor

hex or name

emphasis.shadowBlur

number

itemStyle.emphasis.label.show

logical

itemStyle.emphasis.label.color

hex or name

itemStyle.emphasis.label.fontStyle

'normal' 'italic' 'oblique'

itemStyle.emphasis.label.fontWeight

'normal' 'bold' 'bolder' 'lighter'

itemStyle.emphasis.label.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

itemStyle.emphasis.label.fontSize

number

itemStyle.emphasis.label.align

'left' 'center' 'right'

itemStyle.emphasis.label.verticalAlign

'top' 'middle' 'bottom'

itemStyle.emphasis.label.backgroundColor

hex or name

itemStyle.emphasis.label.borderColor

hex or name

itemStyle.emphasis.label.borderWidth

number

itemStyle.emphasis.label.borderType

'solid' 'dashed' 'dotted'

itemStyle.emphasis.label.borderRadius

number

itemStyle.emphasis.label.shadowColor

hex or name

itemStyle.emphasis.label.shadowBlur

number

itemStyle.emphasis.label.shadowOffsetY

number

itemStyle.emphasis.label.shadowOffsetX

number

itemStyle.emphasis.label.width

number

itemStyle.emphasis.label.height

number

itemStyle.emphasis.label.textBorderColor

hex or name

itemStyle.emphasis.label.textBorderWidth

number

itemStyle.emphasis.label.textShadowColor

hex or name

itemStyle.emphasis.label.textShadowBlur

number

itemStyle.emphasis.label.textShadowOffsetY

number

itemStyle.emphasis.label.textShadowOffsetX

number

label.show

logical

label.color

hex or name

label.fontStyle

'normal' 'italic' 'oblique'

label.fontWeight

'normal' 'bold' 'bolder' 'lighter'

label.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

label.fontSize

number

label.align

'left' 'center' 'right'

label.verticalAlign

'top' 'middle' 'bottom'

label.backgroundColor

hex or name

label.borderColor

hex or name

label.borderWidth

number

label.borderType

'solid' 'dashed' 'dotted'

label.borderRadius

number

label.shadowColor

hex or name

label.shadowBlur

number

label.shadowOffsetY

number

label.shadowOffsetX

number

label.width

number

label.height

number

label.textBorderColor

hex or name

label.textBorderWidth

number

label.textShadowColor

hex or name

label.textShadowBlur

number

label.textShadowOffsetY

number

label.textShadowOffsetX

number

Value

The modified echarts4r object


Enhanced Legend Setter for echarts4r

Description

Exposes every legend.* option so you don't have to hand-craft the JSON.

Usage

e_legend_full(
  e = NULL,
  legend.show = FALSE,
  legend.type = "scroll",
  legend.selector = "all",
  legend.icon = NULL,
  legend.align = "auto",
  legend.padding = c(5, 10, 5, 10),
  legend.itemGap = 10,
  legend.itemWidth = 25,
  legend.orient = "horizontal",
  legend.width = NULL,
  legend.height = "240px",
  legend.left = NULL,
  legend.right = 50,
  legend.top = 40,
  legend.bottom = NULL,
  legend.backgroundColor = NULL,
  legend.borderColor = NULL,
  legend.borderWidth = NULL,
  legend.borderRadius = NULL,
  legend.shadowBlur = NULL,
  legend.shadowColor = NULL,
  legend.shadowOffsetX = NULL,
  legend.shadowOffsetY = NULL,
  legend.itemStyle.color = NULL,
  legend.itemStyle.borderColor = NULL,
  legend.itemStyle.borderWidth = NULL,
  legend.itemStyle.borderType = NULL,
  legend.itemStyle.shadowBlur = NULL,
  legend.itemStyle.shadowColor = NULL,
  legend.itemStyle.shadowOffsetX = NULL,
  legend.itemStyle.shadowOffsetY = NULL,
  legend.itemStyle.opacity = NULL,
  legend.lineStyle.color = NULL,
  legend.lineStyle.width = NULL,
  legend.lineStyle.type = NULL,
  legend.lineStyle.shadowBlur = NULL,
  legend.lineStyle.shadowColor = NULL,
  legend.lineStyle.shadowOffsetX = NULL,
  legend.lineStyle.shadowOffsetY = NULL,
  legend.lineStyle.opacity = NULL,
  legend.lineStyle.inactiveColor = NULL,
  legend.lineStyle.inactiveWidth = NULL,
  legend.textStyle.color = NULL,
  legend.textStyle.fontStyle = NULL,
  legend.textStyle.fontWeight = NULL,
  legend.textStyle.fontFamily = NULL,
  legend.textStyle.fontSize = NULL,
  legend.textStyle.backgroundColor = NULL,
  legend.textStyle.borderColor = NULL,
  legend.textStyle.borderWidth = NULL,
  legend.textStyle.borderType = NULL,
  legend.textStyle.borderRadius = NULL,
  legend.textStyle.padding = NULL,
  legend.textStyle.shadowColor = NULL,
  legend.textStyle.shadowBlur = NULL,
  legend.textStyle.shadowOffsetX = NULL,
  legend.textStyle.shadowOffsetY = NULL,
  legend.textStyle.width = NULL,
  legend.textStyle.height = NULL,
  legend.textStyle.textBorderColor = NULL,
  legend.textStyle.textBorderWidth = NULL,
  legend.textStyle.textBorderType = NULL,
  legend.textStyle.textShadowColor = NULL,
  legend.textStyle.textShadowBlur = NULL,
  legend.textStyle.textShadowOffsetX = NULL,
  legend.textStyle.textShadowOffsetY = NULL,
  legend.pageTextStyle.color = NULL,
  legend.pageTextStyle.fontStyle = NULL,
  legend.pageTextStyle.fontWeight = NULL,
  legend.pageTextStyle.fontFamily = NULL,
  legend.pageTextStyle.fontSize = NULL,
  legend.pageTextStyle.lineHeight = NULL,
  legend.pageTextStyle.width = NULL,
  legend.pageTextStyle.height = NULL,
  legend.pageTextStyle.textBorderColor = NULL,
  legend.pageTextStyle.textBorderWidth = NULL,
  legend.pageTextStyle.textBorderType = NULL,
  legend.pageTextStyle.textShadowColor = NULL,
  legend.pageTextStyle.textShadowBlur = NULL,
  legend.pageTextStyle.textShadowOffsetX = NULL,
  legend.pageTextStyle.textShadowOffsetY = NULL,
  legend.emphasis.selectorLabel.show = NULL,
  legend.emphasis.selectorLabel.distance = NULL,
  legend.emphasis.selectorLabel.rotate = NULL,
  legend.emphasis.selectorLabel.color = NULL,
  legend.emphasis.selectorLabel.fontStyle = NULL,
  legend.emphasis.selectorLabel.fontWeight = NULL,
  legend.emphasis.selectorLabel.fontFamily = NULL,
  legend.emphasis.selectorLabel.fontSize = NULL,
  legend.emphasis.selectorLabel.align = NULL,
  legend.emphasis.selectorLabel.verticalAlign = NULL,
  legend.emphasis.selectorLabel.lineHeight = NULL,
  legend.emphasis.selectorLabel.backgroundColor = NULL,
  legend.emphasis.selectorLabel.borderColor = NULL,
  legend.emphasis.selectorLabel.borderWidth = NULL,
  legend.emphasis.selectorLabel.borderType = NULL,
  legend.emphasis.selectorLabel.borderRadius = NULL,
  legend.emphasis.selectorLabel.padding = NULL,
  legend.emphasis.selectorLabel.shadowColor = NULL,
  legend.emphasis.selectorLabel.shadowBlur = NULL,
  legend.emphasis.selectorLabel.shadowOffsetX = NULL,
  legend.emphasis.selectorLabel.shadowOffsetY = NULL,
  legend.emphasis.selectorLabel.width = NULL,
  legend.emphasis.selectorLabel.height = NULL,
  legend.emphasis.selectorLabel.textBorderColor = NULL,
  legend.emphasis.selectorLabel.textBorderWidth = NULL,
  legend.emphasis.selectorLabel.textBorderType = NULL,
  legend.emphasis.selectorLabel.textShadowColor = NULL,
  legend.emphasis.selectorLabel.textShadowBlur = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetX = NULL,
  legend.emphasis.selectorLabel.textShadowOffsetY = NULL
)

Arguments

e

An echarts4r object

legend.show

logical

legend.type

'scroll' 'plain'

legend.selector

logical

legend.icon

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

legend.align

'auto' 'left' 'right'

legend.padding

numeric

legend.itemGap

numeric

legend.itemWidth

numeric

legend.orient

'vertical' 'horizontal'

legend.width

numeric

legend.height

numeric

legend.left

numeric

legend.right

numeric

legend.top

numeric

legend.bottom

numeric

legend.backgroundColor

hex or color name

legend.borderColor

hex or color name

legend.borderWidth

numeric

legend.borderRadius

numeric

legend.shadowBlur

numeric

legend.shadowColor

hex or color name

legend.shadowOffsetX

numeric

legend.shadowOffsetY

numeric

legend.itemStyle.color

hex or color name

legend.itemStyle.borderColor

hex or color name

legend.itemStyle.borderWidth

numeric

legend.itemStyle.borderType

'solid' 'dashed' 'dotted'

legend.itemStyle.shadowBlur

numeric

legend.itemStyle.shadowColor

hex or color name

legend.itemStyle.shadowOffsetX

numeric

legend.itemStyle.shadowOffsetY

numeric

legend.itemStyle.opacity

numeric 0 to 1

legend.lineStyle.color

hex or color name

legend.lineStyle.width

numeric

legend.lineStyle.type

'solid' 'dashed' 'dotted'

legend.lineStyle.shadowBlur

numeric

legend.lineStyle.shadowColor

hex or color name

legend.lineStyle.shadowOffsetX

numeric

legend.lineStyle.shadowOffsetY

numeric

legend.lineStyle.opacity

numeric 0 to 1

legend.lineStyle.inactiveColor

hex or color name

legend.lineStyle.inactiveWidth

numeric

legend.textStyle.color

hex or color name

legend.textStyle.fontStyle

'normal' 'italic' 'oblique'

legend.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.textStyle.fontSize

numeric

legend.textStyle.backgroundColor

hex or color name

legend.textStyle.borderColor

hex or color name

legend.textStyle.borderWidth

numeric

legend.textStyle.borderType

'solid' 'dashed' 'dotted'

legend.textStyle.borderRadius

numeric

legend.textStyle.padding

numeric

legend.textStyle.shadowColor

hex or color name

legend.textStyle.shadowBlur

numeric

legend.textStyle.shadowOffsetX

numeric

legend.textStyle.shadowOffsetY

numeric

legend.textStyle.width

numeric

legend.textStyle.height

numeric

legend.textStyle.textBorderColor

hex or color name

legend.textStyle.textBorderWidth

numeric

legend.textStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.textStyle.textShadowColor

hex or color name

legend.textStyle.textShadowBlur

numeric

legend.textStyle.textShadowOffsetX

numeric

legend.textStyle.textShadowOffsetY

numeric

legend.pageTextStyle.color

hex or color name

legend.pageTextStyle.fontStyle

'normal' 'italic' 'oblique'

legend.pageTextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.pageTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.pageTextStyle.fontSize

numeric

legend.pageTextStyle.lineHeight

numeric

legend.pageTextStyle.width

numeric

legend.pageTextStyle.height

numeric

legend.pageTextStyle.textBorderColor

hex or color name

legend.pageTextStyle.textBorderWidth

numeric

legend.pageTextStyle.textBorderType

'solid' 'dashed' 'dotted'

legend.pageTextStyle.textShadowColor

hex or color name

legend.pageTextStyle.textShadowBlur

numeric

legend.pageTextStyle.textShadowOffsetX

numeric

legend.pageTextStyle.textShadowOffsetY

numeric

legend.emphasis.selectorLabel.show

logical

legend.emphasis.selectorLabel.distance

numeric

legend.emphasis.selectorLabel.rotate

numeric

legend.emphasis.selectorLabel.color

hex or color name

legend.emphasis.selectorLabel.fontStyle

'normal' 'italic' 'oblique'

legend.emphasis.selectorLabel.fontWeight

'normal' 'bold' 'bolder' 'lighter'

legend.emphasis.selectorLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

legend.emphasis.selectorLabel.fontSize

numeric

legend.emphasis.selectorLabel.align

'left' 'center' 'right'

legend.emphasis.selectorLabel.verticalAlign

'top' 'middle' 'bottom'

legend.emphasis.selectorLabel.lineHeight

numeric

legend.emphasis.selectorLabel.backgroundColor

hex or color name

legend.emphasis.selectorLabel.borderColor

hex or color name

legend.emphasis.selectorLabel.borderWidth

numeric

legend.emphasis.selectorLabel.borderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.borderRadius

numeric

legend.emphasis.selectorLabel.padding

numeric

legend.emphasis.selectorLabel.shadowColor

hex or color name

legend.emphasis.selectorLabel.shadowBlur

numeric

legend.emphasis.selectorLabel.shadowOffsetX

numeric

legend.emphasis.selectorLabel.shadowOffsetY

numeric

legend.emphasis.selectorLabel.width

numeric

legend.emphasis.selectorLabel.height

numeric

legend.emphasis.selectorLabel.textBorderColor

hex or color name

legend.emphasis.selectorLabel.textBorderWidth

numeric

legend.emphasis.selectorLabel.textBorderType

'solid' 'dashed' 'dotted'

legend.emphasis.selectorLabel.textShadowColor

hex or color name

legend.emphasis.selectorLabel.textShadowBlur

numeric

legend.emphasis.selectorLabel.textShadowOffsetX

numeric

legend.emphasis.selectorLabel.textShadowOffsetY

numeric

Value

The modified echarts4r object


Parallel customization

Description

Expose most parallel options

Usage

e_parallel_full(
  e,
  vars,
  rm_x = TRUE,
  rm_y = TRUE,
  lineStyle.color = NULL,
  lineStyle.width = NULL,
  lineStyle.type = NULL,
  lineStyle.shadowBlur = NULL,
  lineStyle.shadowColor = NULL,
  lineStyle.shadowOffsetX = NULL,
  lineStyle.shadowOffsetY = NULL,
  lineStyle.opacity = NULL,
  lineStyle.emphasis.color = NULL,
  lineStyle.emphasis.width = NULL,
  lineStyle.emphasis.type = NULL,
  lineStyle.emphasis.shadowBlur = NULL,
  lineStyle.emphasis.shadowColor = NULL,
  lineStyle.emphasis.shadowOffsetX = NULL,
  lineStyle.emphasis.shadowOffsetY = NULL,
  lineStyle.emphasis.opacity = NULL
)

Arguments

e

plot

vars

character vector

rm_x

logical

rm_y

logical

lineStyle.color

hex or color

lineStyle.width

number

lineStyle.type

'solid' 'dashed' 'dotted'

lineStyle.shadowBlur

number

lineStyle.shadowColor

hex or color

lineStyle.shadowOffsetX

number

lineStyle.shadowOffsetY

number

lineStyle.opacity

decimal

lineStyle.emphasis.color

hex or color

lineStyle.emphasis.width

number

lineStyle.emphasis.type

'solid' 'dashed' 'dotted'

lineStyle.emphasis.shadowBlur

number

lineStyle.emphasis.shadowColor

hex or color

lineStyle.emphasis.shadowOffsetX

number

lineStyle.emphasis.shadowOffsetY

number

lineStyle.emphasis.opacity

decimal

Value

The modified echarts4r object


Enhanced Title Setter for echarts4r

Description

Exposes every title.* option so you don't have to hand-craft the JSON.

Usage

e_title_full(
  e = NULL,
  title.text = NULL,
  title.subtext = NULL,
  title.link = NULL,
  title.sublink = NULL,
  title.Align = NULL,
  title.top = NULL,
  title.left = NULL,
  title.right = NULL,
  title.bottom = NULL,
  title.padding = NULL,
  title.itemGap = NULL,
  title.backgroundColor = NULL,
  title.borderColor = NULL,
  title.borderWidth = NULL,
  title.borderRadius = NULL,
  title.shadowColor = NULL,
  title.shadowBlur = NULL,
  title.shadowOffsetX = NULL,
  title.shadowOffsetY = NULL,
  title.textStyle.color = NULL,
  title.textStyle.fontStyle = NULL,
  title.textStyle.fontWeight = NULL,
  title.textStyle.fontFamily = NULL,
  title.textStyle.fontSize = NULL,
  title.textStyle.lineHeight = NULL,
  title.textStyle.width = NULL,
  title.textStyle.height = NULL,
  title.textStyle.textBorderColor = NULL,
  title.textStyle.textBorderWidth = NULL,
  title.textStyle.textBorderType = NULL,
  title.textStyle.textBorderDashOffset = NULL,
  title.textStyle.textShadowColor = NULL,
  title.textStyle.textShadowBlur = NULL,
  title.textStyle.textShadowOffsetX = NULL,
  title.textStyle.textShadowOffsetY = NULL,
  title.subtextStyle.color = NULL,
  title.subtextStyle.align = NULL,
  title.subtextStyle.fontStyle = NULL,
  title.subtextStyle.fontWeight = NULL,
  title.subtextStyle.fontFamily = NULL,
  title.subtextStyle.fontSize = NULL,
  title.subtextStyle.lineHeight = NULL,
  title.subtextStyle.width = NULL,
  title.subtextStyle.height = NULL,
  title.subtextStyle.textBorderColor = NULL,
  title.subtextStyle.textBorderWidth = NULL,
  title.subtextStyle.textBorderType = NULL,
  title.subtextStyle.textBorderDashOffset = NULL,
  title.subtextStyle.textShadowColor = NULL,
  title.subtextStyle.textShadowBlur = NULL,
  title.subtextStyle.textShadowOffsetX = NULL,
  title.subtextStyle.textShadowOffsetY = NULL
)

Arguments

e

An echarts4r object

title.text

Title name

title.subtext

Subtitle name

title.link

Title as a link

title.sublink

Subtitle as a link

title.Align

'auto' 'left' 'right' 'center'

title.top

'auto' '20' 'top' 'middle' 'bottom'

title.left

distance between title and left side of container

title.right

distance between title and right side of container

title.bottom

'auto' '20' 'top' 'middle' 'bottom'

title.padding

numeric

title.itemGap

space between title and subtitle

title.backgroundColor

hex or name

title.borderColor

hex or name

title.borderWidth

numeric

title.borderRadius

numeric

title.shadowColor

hex or name

title.shadowBlur

numeric

title.shadowOffsetX

numeric

title.shadowOffsetY

numeric

title.textStyle.color

hex or name

title.textStyle.fontStyle

'normal' 'italic' 'oblique'

title.textStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.textStyle.fontSize

numeric

title.textStyle.lineHeight

numeric

title.textStyle.width

numeric

title.textStyle.height

numeric

title.textStyle.textBorderColor

hex or name

title.textStyle.textBorderWidth

numeric

title.textStyle.textBorderType

'solid' 'dashed' 'dotted'

title.textStyle.textBorderDashOffset

numeric

title.textStyle.textShadowColor

hex or name

title.textStyle.textShadowBlur

numeric

title.textStyle.textShadowOffsetX

numeric

title.textStyle.textShadowOffsetY

numeric

title.subtextStyle.color

hex or name

title.subtextStyle.align

'auto' 'left' 'right' 'center'

title.subtextStyle.fontStyle

'normal' 'italic' 'oblique'

title.subtextStyle.fontWeight

'normal' 'bold' 'bolder' 'lighter'

title.subtextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

title.subtextStyle.fontSize

numeric

title.subtextStyle.lineHeight

numeric

title.subtextStyle.width

numeric

title.subtextStyle.height

numeric

title.subtextStyle.textBorderColor

hex or name

title.subtextStyle.textBorderWidth

numeric

title.subtextStyle.textBorderType

'solid' 'dashed' 'dotted'

title.subtextStyle.textBorderDashOffset

numeric

title.subtextStyle.textShadowColor

numeric

title.subtextStyle.textShadowBlur

numeric

title.subtextStyle.textShadowOffsetX

numeric

title.subtextStyle.textShadowOffsetY

numeric

Value

The modified echarts4r object


toolbox function

Description

exposed parameters for toolbox

Usage

e_toolbox_full(
  e = NULL,
  toolbox.show = TRUE,
  toolbox.orient = "horizontal",
  toolbox.itemSize = 15,
  toolbox.itemGap = 8,
  toolbox.top = NULL,
  toolbox.left = NULL,
  toolbox.right = NULL,
  toolbox.bottom = NULL,
  toolbox.width = NULL,
  toolbox.heigth = NULL,
  toolbox.feature.saveAsImage.show = TRUE,
  toolbox.feature.restore.show = TRUE,
  toolbox.feature.dataZoom.show = TRUE,
  toolbox.feature.magicType.show = TRUE,
  toolbox.feature.magicType.type = c("line", "bar", "stack"),
  toolbox.feature.dataView.show = TRUE,
  toolbox.iconStyle.color = NULL,
  toolbox.iconStyle.borderColor = NULL,
  toolbox.emphasis.iconStyle.borderColor = NULL,
  toolbox.iconStyle.shadowBlur = NULL,
  toolbox.iconStyle.shadowColor = NULL,
  toolbox.iconStyle.shadowOffsetX = NULL,
  toolbox.iconStyle.shadowOffsetY = NULL
)

Arguments

e

existing plot

toolbox.show

logical

toolbox.orient

"horizontal" or "vertical"

toolbox.itemSize

Default 15

toolbox.itemGap

Default 8

toolbox.top

numeric

toolbox.left

numeric

toolbox.right

numeric

toolbox.bottom

numeric

toolbox.width

numeric

toolbox.heigth

numeric

toolbox.feature.saveAsImage.show

logical

toolbox.feature.restore.show

logical

toolbox.feature.dataZoom.show

logical

toolbox.feature.magicType.show

logical

toolbox.feature.magicType.type

'bar' 'line' 'stack'

toolbox.feature.dataView.show

logical

toolbox.iconStyle.color

hex

toolbox.iconStyle.borderColor

hex

toolbox.emphasis.iconStyle.borderColor

hex

toolbox.iconStyle.shadowBlur

numeric

toolbox.iconStyle.shadowColor

hex

toolbox.iconStyle.shadowOffsetX

numeric

toolbox.iconStyle.shadowOffsetY

numeric

Value

The modified echarts4r object


Enhanced Tooltip Setter for echarts4r

Description

Exposes every tooltip.* option so you don't have to hand-craft the JSON.

Usage

e_tooltip_full(
  e,
  tooltip.show = TRUE,
  tooltip.trigger = "axis",
  tooltip.backgroundColor = NULL,
  tooltip.borderColor = NULL,
  tooltip.borderWidth = NULL,
  tooltip.padding = NULL,
  tooltip.axisPointer.type = "cross",
  tooltip.axisPointer.lineStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.color = NULL,
  tooltip.axisPointer.shadowStyle.shadowBlur = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetX = NULL,
  tooltip.axisPointer.shadowStyle.shadowOffsetY = NULL,
  tooltip.axisPointer.shadowStyle.opacity = NULL,
  tooltip.textStyle.color = NULL,
  tooltip.textStyle.fontStyle = NULL,
  tooltip.textStyle.fontWeight = NULL,
  tooltip.textStyle.fontFamily = NULL,
  tooltip.textStyle.lineHeight = NULL,
  tooltip.textStyle.width = NULL,
  tooltip.textStyle.height = NULL,
  tooltip.textStyle.textBorderColor = NULL,
  tooltip.textStyle.textBorderWidth = NULL,
  tooltip.textStyle.textBorderType = NULL,
  tooltip.textStyle.textShadowColor = NULL,
  tooltip.textStyle.textShadowBlur = NULL,
  tooltip.textStyle.textShadowOffsetX = NULL,
  tooltip.textStyle.textShadowOffsetY = NULL
)

Arguments

e

An echarts4r object

tooltip.show

logical

tooltip.trigger

"cross" "axis" "item" "none"

tooltip.backgroundColor

hex or name

tooltip.borderColor

numeric

tooltip.borderWidth

numeric

tooltip.padding

numeric

tooltip.axisPointer.type

"line" or "shadow"

tooltip.axisPointer.lineStyle.color

hex or name

tooltip.axisPointer.shadowStyle.color

hex or name

tooltip.axisPointer.shadowStyle.shadowBlur

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetX

numeric

tooltip.axisPointer.shadowStyle.shadowOffsetY

numeric

tooltip.axisPointer.shadowStyle.opacity

numeric between 0 and 1

tooltip.textStyle.color

hex or name

tooltip.textStyle.fontStyle

"normal" "italic" "oblique"

tooltip.textStyle.fontWeight

"normal" "bold" "bolder" "lighter"

tooltip.textStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

tooltip.textStyle.lineHeight

numeric

tooltip.textStyle.width

numeric

tooltip.textStyle.height

numeric

tooltip.textStyle.textBorderColor

hex or name

tooltip.textStyle.textBorderWidth

numeric

tooltip.textStyle.textBorderType

"solid" "dashed" "dotted"

tooltip.textStyle.textShadowColor

hex or name

tooltip.textStyle.textShadowBlur

numeric

tooltip.textStyle.textShadowOffsetX

numeric

tooltip.textStyle.textShadowOffsetY

numeric

Value

The modified echarts4r object


Enhanced visual map

Description

Exposes most visual map options

Usage

e_visual_map_full(
  e,
  serie,
  visualMap.show = TRUE,
  visualMap.min = NULL,
  visualMap.max = NULL,
  visualMap.orient = NULL,
  visualMap.right = NULL,
  visualMap.top = NULL,
  visualMap.bottom = NULL,
  visualMap.left = NULL,
  visualMap.backgroundColor = NULL,
  visualMap.borderColor = NULL,
  visualMap.borderWidth = NULL,
  visualMap.InRange.color = NULL,
  visualMap.InRange.opacity = NULL,
  visualMap.InRange.symbol = NULL,
  visualMap.InRange.symbolSize = NULL
)

Arguments

e

An echarts4r object

serie

ZVar XVar YVar

visualMap.show

logical

visualMap.min

min value

visualMap.max

max value

visualMap.orient

'vertical' 'horizontal'

visualMap.right

number

visualMap.top

number

visualMap.bottom

number

visualMap.left

number

visualMap.backgroundColor

hex or name

visualMap.borderColor

hex or name

visualMap.borderWidth

number

visualMap.InRange.color

hex or name

visualMap.InRange.opacity

number

visualMap.InRange.symbol

'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none'

visualMap.InRange.symbolSize

number

Value

plot


Enhanced X-Axis Setter for echarts4r

Description

Exposes every xAxis.* option so you don't have to hand-craft the JSON.

Usage

e_x_axis_full(
  e,
  index = 0,
  serie = NULL,
  axis = "x",
  xAxis.title = NULL,
  xAxis.position = "bottom",
  xAxis.nameLocation = "center",
  xAxis.axisTick.customValues = NULL,
  xAxis.nameTextStyle.color = NULL,
  xAxis.nameTextStyle.padding = 15,
  xAxis.nameTextStyle.align = NULL,
  xAxis.nameTextStyle.fontStyle = NULL,
  xAxis.nameTextStyle.fontWeight = NULL,
  xAxis.nameTextStyle.fontSize = NULL,
  xAxis.nameTextStyle.fontFamily = NULL,
  xAxis.min = NULL,
  xAxis.max = NULL,
  xAxis.splitNumber = NULL,
  xAxis.axisLabel.rotate = NULL,
  xAxis.axisLabel.margin = NULL,
  xAxis.axisLabel.color = NULL,
  xAxis.axisLabel.fontStyle = NULL,
  xAxis.axisLabel.fontWeight = NULL,
  xAxis.axisLabel.fontFamily = NULL,
  xAxis.axisLabel.fontSize = NULL,
  xAxis.axisLabel.align = NULL,
  xAxis.axisLabel.verticalAlign = NULL,
  xAxis.axisLabel.backgroundColor = NULL,
  xAxis.axisLabel.borderColor = NULL,
  xAxis.axisLabel.borderWidth = NULL,
  xAxis.axisLabel.borderType = NULL,
  xAxis.axisLabel.borderRadius = NULL,
  xAxis.axisLabel.padding = NULL,
  xAxis.axisLabel.shadowColor = NULL,
  xAxis.axisLabel.shadowBlur = NULL,
  xAxis.axisLabel.shadowOffsetX = NULL,
  xAxis.axisLabel.shadowOffsetY = NULL,
  xAxis.axisLabel.textBorderColor = NULL,
  xAxis.axisLabel.textBorderWidth = NULL,
  xAxis.axisLabel.textBorderType = NULL,
  xAxis.axisLabel.textShadowColor = NULL,
  xAxis.axisLabel.textShadowBlur = NULL,
  xAxis.axisLabel.textShadowOffsetX = NULL,
  xAxis.axisLabel.textShadowOffsetY = NULL,
  xAxis.axisLabel.overflow = NULL
)

Arguments

e

An echarts4r object

index

Which x axis to target (zero-based). Default: 0

serie

NULL

axis

"x"

xAxis.title

Axis title

xAxis.position

'bottom', 'top'

xAxis.nameLocation

'center', 'start', 'middle'

xAxis.axisTick.customValues

Custom values for the x-axis

xAxis.nameTextStyle.color

hex or named color

xAxis.nameTextStyle.padding

numeric

xAxis.nameTextStyle.align

'center', 'left', 'right'

xAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

xAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.nameTextStyle.fontSize

numeric

xAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.min

Min value

xAxis.max

Max value

xAxis.splitNumber

numeric. Increments for numeric axis labels

xAxis.axisLabel.rotate

numeric

xAxis.axisLabel.margin

numeric

xAxis.axisLabel.color

hex or named

xAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

xAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

xAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

xAxis.axisLabel.fontSize

numeric

xAxis.axisLabel.align

'center', 'left', 'right'

xAxis.axisLabel.verticalAlign

'top', 'bottom'

xAxis.axisLabel.backgroundColor

hex or named

xAxis.axisLabel.borderColor

hex or named

xAxis.axisLabel.borderWidth

numeric

xAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.borderRadius

numeric

xAxis.axisLabel.padding

numeric

xAxis.axisLabel.shadowColor

hex or named

xAxis.axisLabel.shadowBlur

numeric

xAxis.axisLabel.shadowOffsetX

numeric

xAxis.axisLabel.shadowOffsetY

numeric

xAxis.axisLabel.textBorderColor

hex or named

xAxis.axisLabel.textBorderWidth

numeric

xAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

xAxis.axisLabel.textShadowColor

hex or named

xAxis.axisLabel.textShadowBlur

numeric

xAxis.axisLabel.textShadowOffsetX

numeric

xAxis.axisLabel.textShadowOffsetY

numeric

xAxis.axisLabel.overflow

'truncate'

Value

The modified echarts4r object


Enhanced Y-Axis Setter for echarts4r

Description

Exposes every yAxis.* option so you don't have to hand-craft the JSON.

Usage

e_y_axis_full(
  e,
  index = 0,
  serie = NULL,
  axis = "y",
  yAxis.title = NULL,
  yAxis.position = "bottom",
  yAxis.nameLocation = "center",
  yAxis.axisTick.customValues = NULL,
  yAxis.nameTextStyle.color = NULL,
  yAxis.nameTextStyle.padding = 15,
  yAxis.nameTextStyle.align = NULL,
  yAxis.nameTextStyle.fontStyle = NULL,
  yAxis.nameTextStyle.fontWeight = NULL,
  yAxis.nameTextStyle.fontSize = NULL,
  yAxis.nameTextStyle.fontFamily = NULL,
  yAxis.min = NULL,
  yAxis.max = NULL,
  yAxis.splitNumber = NULL,
  yAxis.axisLabel.rotate = NULL,
  yAxis.axisLabel.margin = NULL,
  yAxis.axisLabel.color = NULL,
  yAxis.axisLabel.fontStyle = NULL,
  yAxis.axisLabel.fontWeight = NULL,
  yAxis.axisLabel.fontFamily = NULL,
  yAxis.axisLabel.fontSize = NULL,
  yAxis.axisLabel.align = NULL,
  yAxis.axisLabel.verticalAlign = NULL,
  yAxis.axisLabel.backgroundColor = NULL,
  yAxis.axisLabel.borderColor = NULL,
  yAxis.axisLabel.borderWidth = NULL,
  yAxis.axisLabel.borderType = NULL,
  yAxis.axisLabel.borderRadius = NULL,
  yAxis.axisLabel.padding = NULL,
  yAxis.axisLabel.shadowColor = NULL,
  yAxis.axisLabel.shadowBlur = NULL,
  yAxis.axisLabel.shadowOffsetX = NULL,
  yAxis.axisLabel.shadowOffsetY = NULL,
  yAxis.axisLabel.textBorderColor = NULL,
  yAxis.axisLabel.textBorderWidth = NULL,
  yAxis.axisLabel.textBorderType = NULL,
  yAxis.axisLabel.textShadowColor = NULL,
  yAxis.axisLabel.textShadowBlur = NULL,
  yAxis.axisLabel.textShadowOffsetX = NULL,
  yAxis.axisLabel.textShadowOffsetY = NULL,
  yAxis.axisLabel.overflow = NULL
)

Arguments

e

An echarts4r object

index

Which y axis to target (zero-based). Default: 0

serie

NULL

axis

"y"

yAxis.title

Axis title

yAxis.position

'bottom', 'top'

yAxis.nameLocation

'center', 'start', 'middle'

yAxis.axisTick.customValues

Custom values for the y-axis

yAxis.nameTextStyle.color

hex or named color

yAxis.nameTextStyle.padding

numeric

yAxis.nameTextStyle.align

'center', 'left', 'right'

yAxis.nameTextStyle.fontStyle

'italic', 'normal' 'oblique'

yAxis.nameTextStyle.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.nameTextStyle.fontSize

numeric

yAxis.nameTextStyle.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.min

Min value

yAxis.max

Max value

yAxis.splitNumber

numeric. Increments for numeric axis labels

yAxis.axisLabel.rotate

numeric

yAxis.axisLabel.margin

numeric

yAxis.axisLabel.color

hex or named

yAxis.axisLabel.fontStyle

'italic', 'normal' 'oblique'

yAxis.axisLabel.fontWeight

'normal', 'bold', 'bolder', 'lighter'

yAxis.axisLabel.fontFamily

'sans-serif', 'serif', 'monospace', 'Arial', 'Times New Roman', 'Roboto', 'Open Sans', 'Lato', 'Helvetica', 'Georgia', 'Verdana', 'Arial', 'Tahoma', 'Courier New'

yAxis.axisLabel.fontSize

numeric

yAxis.axisLabel.align

'center', 'left', 'right'

yAxis.axisLabel.verticalAlign

'top', 'bottom'

yAxis.axisLabel.backgroundColor

hex or named

yAxis.axisLabel.borderColor

hex or named

yAxis.axisLabel.borderWidth

numeric

yAxis.axisLabel.borderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.borderRadius

numeric

yAxis.axisLabel.padding

numeric

yAxis.axisLabel.shadowColor

hex or named

yAxis.axisLabel.shadowBlur

numeric

yAxis.axisLabel.shadowOffsetX

numeric

yAxis.axisLabel.shadowOffsetY

numeric

yAxis.axisLabel.textBorderColor

hex or named

yAxis.axisLabel.textBorderWidth

numeric

yAxis.axisLabel.textBorderType

'solid', 'dashed', 'dotted'

yAxis.axisLabel.textShadowColor

hex or named

yAxis.axisLabel.textShadowBlur

numeric

yAxis.axisLabel.textShadowOffsetX

numeric

yAxis.axisLabel.textShadowOffsetY

numeric

yAxis.axisLabel.overflow

'truncate'

Value

The modified echarts4r object