Rdocumentation
powered by
Learn R Programming
userfriendlyscience (version 0.5-1)
ggPie: A ggplot pie chart
Description
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.
Usage
ggPie(vector)
Arguments
vector
The vector (best to pass a factor).
Value
A ggplot pie chart.
Examples
Run this code
ggPie(mtcars$cyl);
Run the code above in your browser using
DataLab