Description Usage Arguments Value Author(s) See Also
View source: R/univariateQual.R
univariateQual
Performs univariate analysis on a group of dichotomous
qualitative variables with uniform category levels. The function returns
a combined contingency table for all groups and categories, as well as
a stacked bar plot showing frequencies and percentages of categories
for each group.
1 2 | univariateQual(data, type = "dichotomous", groups, xLab, yLab = NULL,
plotTitle = NULL)
|
data |
Wide data frame containing:
|
type |
Character string indicating whether data is dichotomous, ordinal, or nominal |
groups |
Character vector containing the group names to be rendered along the x-axis |
xLab |
Character string containing the label for the x-axis |
yLab |
Character string indicating the label for the y-axis |
plotTitle |
Character string indicating the plot title. |
analysis List containing: 1. Contingency table 2. Stacked Frequency Proportion Barplot
John James, jjames@datasciencesalon.org
Other EDA functions: bivariateQual
,
bivariateQuant
, bivariate
,
univariateQuant
, univariate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.