plotFreqProp: plotFreqProp

Description Usage Arguments Value Author(s) See Also

Description

plotFreqPropTbl Renders a stacked bar plot and a contingency table showing frequencies and proportions

Usage

1
plotFreqProp(data, yLab = "Movies", xLab, plotTitle = NULL, order = NULL)

Arguments

data

Data frame or vector containing a single categorical factor variable

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

order

Character c('a', 'd') indicating whether to order by frequency ascending (a), or descending (d)

Value

List containing a contingency table and a stacked bar plot.

Author(s)

John James, jjames@datasciencesalon.org

See Also

Other visualization functions: plotBar, plotBox, plotCooks, plotCorr, plotHist, plotLinear, plotLine, plotQQ, plotResAll, plotResFit, plotResLeverage, plotResQQ, plotScatter


DataScienceSalon/mdb documentation built on May 28, 2019, 12:23 p.m.