plotBox: plotBox

Description Usage Arguments Value Author(s) See Also

View source: R/visualization.R

Description

plotBox Renders a single or grouped box plot.

Usage

1
2
plotBox(data, xLab = NULL, yLab, plotTitle = NULL, rotate = FALSE,
  showMean = TRUE)

Arguments

data

Data frame or vector containing two columns: 1: Numeric response variable (y) 2: Categorical independent variable (x)

xLab

Capital case character string containing the name of the x variable (optional)

yLab

Capital case character string containing the name of the y variable

plotTitle

Character case character string containing the title for the plot

rotate

Logical indicating whether to rotate the plot by 90 degrees

showMean

Logical indicating whether the mean value should be displayed.

Value

List containing a contingency table and a stacked bar plot.

Author(s)

John James, jjames@datasciencesalon.org

See Also

Other visualization functions: groupBarPlot, pieChart, plotBar2, plotBar, plotCIBars, plotCorr, plotFreqProp, plotHist, plotLine, plotQQ, plotResFit, plotResQQ, plotScatter, plotStackedBar


DataScienceSalon/Bayesian-Regression documentation built on May 29, 2019, 12:06 a.m.