防止R在"表达内部进行舍入"功能

时间:2017-03-17 05:00:50

标签: r

我需要在情节中准确显示98.0,但R很遗憾只显示98 + - 2.3欧米茄

  text(0.03,8,  expression(Rx ==    98.0   +-  2.3* phantom(x)*Omega), cex = 1.5, col = "red")

谢谢

1 个答案:

答案 0 :(得分:2)

plot( x = 1:10, y = 1:10 )
text(4,8,
     expression( Rx == '98.0'   %+-%  2.3 *phantom(x)* Omega ),
     cex = 1.5, col = "red")

enter image description here