powered by
THis function creates a pie chart. Note that these are generally quite strongly advised against, as people are not good at interpreting relative frequencies on the basis of pie charts.
ggPie(vector)
The vector (best to pass a factor).
A ggplot pie chart.
# NOT RUN { ggPie(mtcars$cyl); # }
Run the code above in your browser using DataLab