Skip to contents

Make a pie chart.

Usage

ggpie(data, fill, legend = "none")

Arguments

data

Data.

fill

The variable to fill the pie.

legend

The legend position.

Value

A ggplot2 object.

Examples

ggpie(palmerpenguins::penguins, fill = island)