Plot.ProbabilityPlot {AutoPlots}R Documentation

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

Examples

# Create fake data
dt <- data.table::data.table(Y = qnorm(p = 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)


[Package AutoPlots version 1.0.0 Index]