my_pie: Using a dataframe specific column to plot a pie figure

View source: R/my_pie.R

my_pieR Documentation

Using a dataframe specific column to plot a pie figure

Description

Using a dataframe specific column to plot a pie figure

Usage

my_pie(data, ncol)

Arguments

data

a dataframe or tibble

ncol

specific column, factor

Value

a figure as ggplot2 object

Examples

my_pie(mtcars,ncol=2)
my_pie(diamonds,ncol=3)
my_pie(diamonds,ncol=3)+guides(fill="none")


DawnEve/GEB documentation built on July 6, 2022, 7:05 p.m.