View source: R/Visualizations_tables.R
gg_pie_table | R Documentation |
This function creates a pie chart with labels and frequency values using ggplot2.
gg_pie_table(TBL = NULL, cols = col_vector, legend.position = "none")
TBL |
A table or data frame containing the data for the pie chart. |
cols |
A vector of colors to be used for filling the pie slices. |
legend.position |
The position of the legend in the plot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.