从sfsmisc包中我有一个表达式,我想在此之前添加一个文本.如何在表达式上添加文本?
sfsmisc
library(sfsmisc) v <- pretty10exp(500) title <- paste("some text ", v) plot(1:5, 1:5, main = title)
这将标题绘制为some text 5 %*% 10^2但不是格式化文本.
some text 5 %*% 10^2
formatting r plotmath
formatting ×1
plotmath ×1
r ×1