Description Usage Arguments Examples
plot stack bar with proportion percentage for two categorical variables
1 | util.plot.stack.bar(df, x, fill, label.threshold = 0.1, ...)
|
df |
data.frame, input data |
x |
char, variable to plot for statistics |
fill |
char, variable to partition by color |
label.threshold |
float, only label percentage greater than threshold |
... |
extra param for function 'geom_bar' |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.