I'd like to get the following plot:
plot(rnorm(10),main=expression(lambda==10))
However, the number "10" in the title would come from a variable to be evaluated, say foo
:
foo <- 10
I have looked at this question and this question, but I'm not getting anywhere.