Following works, (copy & paste into R)
a=123
plot(1,1)
legend('bottomleft',legend=bquote(theta == .(a)))
I want to have multiple items in the legend. All with greek letters. As a simple example, if I repeat the item twice the code does not work anymore
a=123
plot(1,1)
legend('bottomleft',legend=c(bquote(theta == .(a)),bquote(theta == .(a))))
I have tried many more complicated expressions but they all did not work.
Any help will be appreciated.