是否有一种简单的方法可以用基R来做分类散点图?带有基R的分类散点图
我想在X轴标签为低于3个标签。谢谢!
SW-SE North-SW North-SE
0.0322791 0.0466558 0.05533
0.0300673 0.0503937 0.0590444
0.0302151 0.0562131 0.0612469
0.0242698 0.068037 0.0756064
0.0315696 0.0440456 0.0449465
0.0273471 0.0485332 0.048216
0.0249796 0.055911 0.0529762
0.0219699 0.0663013 0.0651523
0.0173046 0.0467941 0.049092
0.0224143 0.0507807 0.0526732
0.0245645 0.0554949 0.0567835
0.020624 0.0691155 0.0705431
0.0208465 0.0340491 0.0525786
0.0160655 0.0382029 0.0561054
0.0236193 0.0441057 0.0597504
0.0280541 0.0561134 0.0741485
0.0242048 0.0420126
0.0243629 0.0459014
0.0192736 0.0476303
0.0268329 0.0620177
欢迎使用stackoverflow。不幸的是,你所问的不是很清楚。请考虑阅读http://stackoverflow.com/questions/how-to-ask和http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – lbusett
使两列,一个用于类别,一个用于数量,以及制造和对象:pairwise = fst $ site_pair Fst = fst $ fst ##然后这个: p < - ggplot(fst,aes(factor ),FST)) p + geom_boxplot()+ geom_jitter()+ theme_bw()+ scale_y_continuous(场所= C(0,0.01,0.02,0.03,0.04,0.05,0.06,0.07,0.08))+实验室(X = “横断面”,y =表达式(F [ST]))+主题(panel.grid.major = element_blank(),panel.grid.minor = element_blank(), panel.background = element_blank(),axis.line = element_line(color =“black”)) –