plotFreqProp: plotFreqProp

Description Usage Arguments Value Author(s) See Also

View source: R/visualization.R

Description

plotFreqPropTbl Renders a stacked bar plot

Usage

1
plotFreqProp(data, yLab, xLab, plotTitle = NULL, lgnd = "bottom")

Arguments

data

Data frame containing the variables:

  • Character string containing the values for each categorical level

  • N: The number of observations for the categorical level

  • Proportion: The proportion of observation for the categorical level

  • Cumulative: The cumulative proportion

  • Pos: The y position for the frequency and proportion text

yLab

Capital case character string describing the y variable

xLab

Capital case character string containing the name of the variable x variable

plotTitle

Capital case character string for the title of the plot

lgnd

Character string indicating position of the legend c("right", "bottom")

Value

A stacked bar plot.

Author(s)

John James, jjames@datasciencesalon.org

See Also

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


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