I have following syntax for putting a legend :

legend("bottom", fill=c("red","blue"), legend=expression(p==0.30, p==0.50), bty="n")

However what I want is that : the value "0.30" should be a value of a variable instead of a constant, so that I can put the name of this variable and in legend it's value will be displayed. Can anyone tell me how to do that?

Regards,


thanks in advance
       
---------------------------------
 Why delete messages? Unlimited storage is just a click away.
	[[alternative HTML version deleted]]

