说我有以下数据
A <- c(1,1,1,2,2,3,3,4,4,4)
B <- c("A","B","A","C","C","A","C","D","C","A")
X <- data.frame(A,B)
sunflowerplot(X$B ~ X$A,
main = "Sunflower plot",
xlab = "TYPE A",
ylab = "TYPE B",
size = 0.25, cex.lab = 1.5, mgp = c(2.5,1,0))
然后通过引用此链接,我想将垂直刻度更改为factors
的{{1}}
参考本网站
如何使用此代码更改标签
B