# ggPie

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.

- Keywords
- hplot

##### Usage

`ggPie(vector)`

##### Arguments

- vector
- The vector (best to pass a factor).

##### Value

A ggplot pie chart.

##### Note

This function is very strongly based on the Mathematical Coffee post at http://mathematicalcoffee.blogspot.com/2014/06/ggpie-pie-graphs-in-ggplot2.html.

##### Examples

```
ggPie(mtcars$cyl);
```

*Documentation reproduced from package userfriendlyscience, version 0.6-1, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.