plotFreqProp: plotFreqProp

Description Usage Arguments Value Author(s) See Also

View source: R/visualization.R

Description

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

Usage

1
plotFreqProp(data, yLab = "Movies", xLab, title = 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

title

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: plotBox, plotCooks, plotHist, plotQQ, plotResAll, plotResFit, plotResLeverage, plotResQQ, plotScatter


DataScienceSalon/movies documentation built on May 28, 2019, 12:24 p.m.