Description Usage Arguments Value Examples
Draw a vertically stacked bar chart with ggplot2
| 1 2 | 
| x | a data frame | 
| col | the column to be stacked, quoted | 
| top | the number of items to include, numeric | 
| title | chart title, quoted | 
| x_label | chart x axis label, quoted | 
| y_label | chart y axis label, quoted | 
plot
| 1 2 3 | ## Not run: stacked_bar(affiliations, col = "normalizedname", top = 10, 
title = "Papers by Affiliation", x_label = "Affiliation", y_label = "Publication Count")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.