更改R

时间:2015-04-22 14:39:48

标签: r plot

说我有以下数据

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}}

参考本网站

axis and text editing

如何使用此代码更改标签

B

0 个答案:

没有答案