spieChart: Spie charts In caroline: A Collection of Database, Data Structure, Visualization, and Utility Functions for R

Spie Chart

Usage

 ```1 2 3``` ``` spie(p1, p2, init.angle=pi, multi, col = rainbow(length(x\$radii)), bg=col, lwd=2, pie.labs=TRUE, grid=TRUE, grid.labs=TRUE, scale=TRUE, p1.circle=TRUE) ```

Arguments

 `p1` a positive numeric vector. `p2` a positive numeric vector. Angles are the same than those used for the first pie but radii change according to the values in . `init.angle` initial angle `multi` radius scale multiplier `col` colors of the p2 (foreground) slices `bg` colors of the p1 (background) slices `lwd` line width of the pie wedge boundaries `pie.labs` boolean labels for the pies `grid` boolean `grid.labs` boolean, scale indicators `scale` boolean `p1.circle` boolean

Author(s)

Romain Francois [email protected] & David Schruth [email protected]

References

D. G. Feitelson (2003), "Comparing Partitions with Spie Charts". School of Computer Science and Engineering, The Hebrew University of Jerusalem. http://www.cs.huji.ac.il/~feit/papers/Spie03TR.pdf

Michael Friendly (2000), Gallery of Data Vizualisation : The Best and Worst of Statistical Graphics. http://www.math.yorku.ca/SCS/Gallery/

`pie`
 ```1 2 3``` ``` p1 <- c(0.12, 0.3, 0.26, 0.16, 0.04, 0.12) p2<- c(0.06, 0.15, 0.52, 0.14, 0.08, 0.05) plot(p1, p2, multi=c(.5, 1, 1.5, 2)) ```