[R] Pie chart
Silvano
silvano at uel.br
Thu May 19 14:07:26 CEST 2011
I made a pie chart and the names of the levels are outside
the circle. How do I put the names of the levels within each
sector?
names(tab13) = paste(c('Regular', 'Bom', 'Excelente'),
round(100*prop.table(tab13), dig=1), "%")
pie(tab13, col=c("LightYellow", "lightgreen", 'lightblue',
'white'), clockwise=F, radius=.7)
Thanks,
--------------------------------------
Silvano Cesar da Costa
Departamento de Estatística
Universidade Estadual de Londrina
Fone: 3371-4346
More information about the R-help
mailing list