有没有办法(使用ggplot或其他一些软件包)来对R中饼图的标签进行角度调整?例如,此代码(使用R默认值):
data <- c(4,9,2,5) names <- c("alpha","beta","gamma","delta") pie(data,names)
创建此饼图:
我想要的是这样的饼图(我在PhotoShop中非常粗略地创建):
charts r ggplot2 pie-chart
charts ×1
ggplot2 ×1
pie-chart ×1
r ×1