1717- ` ggrosepie ` : Create rose pie plot with single or two group variables.
1818
1919<hr />
20+
2021## Installation
2122
2223You can install the released version of ` ggpie ` from [ CRAN] ( https://CRAN.R-project.org ) with:
@@ -33,6 +34,7 @@ remotes::install_github("showteeth/ggpie")
3334```
3435
3536<hr />
37+
3638## Usage
3739
3840### Preapre data
@@ -61,6 +63,7 @@ str(diamonds)
6163```
6264
6365<hr />
66+
6467### Pie plot
6568
6669#### no label
@@ -141,6 +144,7 @@ ggpie(data = diamonds, group_key = "cut", count_type = "full",
141144<img src =" man/figures/README-pie_threashold_horizon_in-1.png " width =" 100% " />
142145
143146<hr />
147+
144148### Donut plot
145149
146150#### no label
@@ -237,6 +241,7 @@ ggdonut(data = diamonds, group_key = "cut", count_type = "full",
237241<img src =" man/figures/README-donut_threashold_horizon_in_no_split-1.png " width =" 100% " />
238242
239243<hr />
244+
240245### 3D pie plot
241246
242247``` r
@@ -264,6 +269,7 @@ cowplot::plot_grid(p1,p2,p3,p4,ncol = 2)
264269<img src =" man/figures/README-pie3d-1.png " width =" 100% " />
265270
266271<hr />
272+
267273### Nested pie/donut plot
268274
269275It is often the case that we have ** two categorical variables** and then need to plot for both of them, ` ggnestedpie ` is designed to deal with this.
@@ -345,6 +351,7 @@ ggnestedpie(data = diamonds, group_key = c("cut", "color"), count_type = "full",
345351<img src =" man/figures/README-nested_pie_blank_inner_outer-1.png " width =" 100% " />
346352
347353<hr />
354+
348355### Rose pie/donut plot
349356
350357#### single variable
@@ -442,6 +449,7 @@ cowplot::plot_grid(p1,p2)
442449<img src =" man/figures/README-rose_pie_two_with_tick_specific_break-1.png " width =" 100% " />
443450
444451<hr />
452+
445453## Contributing
446454
447455Please note that the ` ggpie ` project is released with a [ Contributor Code of Conduct] ( https://www.contributor-covenant.org/version/1/0/0/code-of-conduct/ ) . By contributing to this project, you agree to abide by its terms.
0 commit comments