Description Usage Arguments Details Value Examples
hbarChart()
frees user from repetitive workflows for
creating horizontal bar chart in order to visualize subgroup distributions.
1 |
.tbl_df |
A data frame |
... |
fixed columns names supplied from |
columns |
numeric vector that has a length shorter than the supplied by
|
.xVar |
One of the variables from ... besides the .fill variable |
.fill |
One of the variables from ... |
.innerGroup should, as the argument suggests, be a list of variables
for grouping. They are the unit groups. On the other hand, .outerGroup is a
list of variables shorter than .innerGroup. In turn .outerGroup is at an
outer level and .innerGroup is a subset of .outerGroup. All the variables
passed into .innerGroup and .outerGroup must be selected by vars()
as they are quosures inside the function body. You could modify the labels
for y axis using scale_y_continuous()
since it is a ggplot object.
A ggplot object
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.