ggDonut: Draw a Donut plot

Description Usage Arguments Value

Description

Draw a Donut plot

Usage

1
2
3
ggDonut(data = acs, donuts = "Dx", count = NULL, addDonutLabel = TRUE,
  showRatio = TRUE, polar = TRUE, labelposition = 1, title = "",
  interactive = FALSE)

Arguments

data

A data.frame

donuts

A character string of column name be assigned to the Donuts

count

A character string of column name uses as count

addDonutLabel

A logical value. If TRUE, labels are added to the Donuts

showRatio

A logical value. If TRUE, Ratios are added to the DonutLabels

polar

A logical value. If TRUE, coord_polar() function will be added

labelposition

A number indicating the label position

title

Plot title

interactive

A logical value. If TRUE, an interactive plot will be returned

Value

An interactive Pie and Donut plot


cardiomoon/moonBook2 documentation built on May 13, 2019, 12:40 p.m.