Description Usage Arguments Value
Produce bar chart (plotly) for frequency data with grouping variable.
1 | plot_grouped(table, xlab, ylab, n, font_size = 12, orientation = "v", ...)
|
table |
Frequency table (data frame). 3 columns - cateogry names, groups and frequencies. |
xlab |
X axis title |
ylab |
Y axis title |
n |
sample size |
font_size |
minimum font size for the plot (numeric). |
orientation |
plot orientation ("h" = horizontal, "v" = verical). Vertical by default. |
... |
additional plotly_ly arguments |
bar chart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.