suppa.event.pie | R Documentation |
Count each event type and draw pie chart
suppa.event.pie(
data,
color = "jco",
colid = 2,
alpha = 1,
title = "",
border = "white"
)
data |
A data.frame or list object. |
color |
ggsci color palette |
colid |
If provide data.frame, column id need to be set |
alpha |
Alpha value in plot |
title |
Pie title |
border |
Border color |
suppa.event.pie(ioe.events.df$Type, title = "# of events")
or suppa.event.pie(ioe.events.df, col = 2, title = "# of events")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.