我想使用textplot()来对齐表中的文本。下面是我的代码:
liste<-list(1,2)
tabindex<-data.frame(liste)
colnames(tabindex)<-c("Abreviation","Definition")
tabindex[1,]<-c("SAI : ","Strategy AI : stock's weight depending on AI")
tabindex<-rbind(tabindex,"")
tabindex[2,]<-c("SBH : ","Strategy BH : constant stock's weight")
textplot(tabindex,hadj=0,cex=0.8)如何在每一列中正确对齐(任意方向)文本?
发布于 2015-03-11 20:18:21
如果你修改了你的textplot调用,这是你想要的吗?
textplot(tabindex, halign="left", valign="center", cmar = 0.5, cex=0.8)

https://stackoverflow.com/questions/28985313
复制相似问题