Description Usage Arguments Value Examples
View source: R/piechart-data.R
Init piechart data
1 2 3 4 5 6 7 8 9 10 11 |
data |
a data frame. |
mapping |
default list of aesthetic mappings to use for plot. |
facet |
NULL or a formula. |
sort_by |
a character vector of variable name. |
decreasing |
logical. Should the sort order be increasing or decreasing? |
start, end |
offset of starting and ending point from 3 o'clock in degree. |
steps |
increment of the sequence in radians. |
... |
extra parameters. |
a data frame.
1 2 | library(ggplot2)
piechart_data(mtcars, aes(value = wt))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.