Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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<<"
like image 424
Daniel Valencia C. Avatar asked Mar 02 '23 12:03

Daniel Valencia C.


1 Answers

Using unicode

plot(1, 1, xlab = bquote(alpha~"\u226A"~1))
like image 133
akrun Avatar answered Mar 12 '23 06:03

akrun