Description Usage Arguments Value
This function produces pie charts with ggplot2.
1 |
data |
A data frame to pass to the ggplot function |
variable |
A variable to be plotted. |
addPct |
Where labels should be added - "none" gives no labels, "legend" addes percentages to the color legend, "pie" addes the legends to the pie pieces. |
a ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.