如何在R中的plotmath中写远小于符号<<?

问题描述

我正在尝试在 R 中编写

plot(expression(alpha<1))

enter image description here

plot(expression(alpha<<1))

Error: unexpected input in "plot(expression(alpha<<"

解决方法

使用unicode

plot(1,1,xlab = bquote(alpha~"\u226A"~1))
,

这是我目前距离最近的一次,这对你有什么作用?

plot(
        x = 1:10,y = 1:10,main = expression(paste(alpha,"<<",1))
)