How to write much less than symbol (<<) in plotmath in R?

227 Views Asked by At

I'm trying to write the << symbol in R but I'm not succeeding. Any tips?

plot(expression(alpha<1))

enter image description here

plot(expression(alpha<<1))

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

There are 2 best solutions below

6
akrun On BEST ANSWER

Using unicode

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

This is the closest I am so far, how does this work for you?

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