Description Usage Arguments Value Author(s) See Also
View source: R/visualization.R
plotStackedBar Renders a stacked bar plot and a contingency table
showing frequencies and proportions
1 | plotStackedBar(data, yLab, xLab, plotTitle = NULL, lgnd = "bottom")
|
data |
Data frame containing the variables:
|
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") |
List containing a contingency table and a stacked bar plot.
John James, jjames@datasciencesalon.org
Other visualization functions: groupBarPlot,
pieChart, plotBar2,
plotBar, plotBox,
plotCIBars, plotCorr,
plotFreqProp, plotHist,
plotLine, plotQQ,
plotResFit, plotResQQ,
plotScatter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.