Description Usage Arguments Value Examples
View source: R/as-piechart-data.R
Coerce to a Piechart data Functions to coerce an object to a piechart data if possible.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | as_piechart_data(x, ...)
## S3 method for class 'matrix'
as_piechart_data(
x,
start = 0,
end = 360,
r0 = 0.5,
r1 = 1,
row_names = NULL,
col_names = NULL,
extra_mat = list(),
...
)
## S3 method for class 'data.frame'
as_piechart_data(x, ...)
## S3 method for class 'dist'
as_piechart_data(x, ...)
|
x |
any |
... |
extra parameters. |
start, end |
offset of starting and ending point from 3 o'clock in degree. |
r0, r1 |
start and end radius of arc heatmap. |
row_names, col_names |
character vector. |
extra_mat |
named list of extra matrix data. |
a piechart data.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.