我找不到如何在 R 中的标题或副标题中编写下标。 如何以 1,2 作为下标写出 v 1,2?
感谢您的帮助!
最佳答案
表达式
是你的 friend :
plot(1,1, main=expression('title'^2)) #superscript
plot(1,1, main=expression('title'[2])) #subscript
关于r - R 图中的下标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10156417/