View source: R/visium.graphics.R View source: R/.ipynb_checkpoints/visium.utilities-checkpoint.R
symbols.pie | R Documentation |
Plots set of pie charts in specified positions
symbols.pie(x, y, r, d, cols, border = NA, alpha0 = 0)
x , y |
positions of pies to plot |
r |
radiuses of pies (recycled along x) |
d |
matrix of pie piece sizes. Row sums are normalized to 1. Nrow(d) should be equal to lenght(x). |
cols |
colours of pieces. Ncol(d) should be equal to length(cols) |
border |
colour of pie borders, NA (default) for no borders. |
alpha0 |
start angle |
plot(1,t='n',xlim=c(0,5),ylim=c(0,10))
d = matrix(runif(6*4),ncol=4)
symbols.pie(c(1,2,3,1,2,3),c(1,1,1,1,1,1),1/2,d,1:4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.