Sorry,
there should be a caret symbol (^) between "R" and "2".
Murray Pung wrote:
I'd like to paste a superstring with a number in an object.
Thanks for any help.
Murray
mycor <- cor(1:10,1:10)
plot(1:10,1:10)
text(8,2,paste(expression(R^2)," = ",mycor))
[[alternative HTML version d
mycor <- cor(1:10,1:10)
plot(1:10,1:10)
text(8,2,bquote(R^2 == .(mycor)))
HTH, Andrej
Murray Pung wrote:
I'd like to paste a superstring with a number in an object.
Thanks for any help.
Murray
mycor <- cor(1:10,1:10)
plot(1:10,1:10)
text(8,2,paste(expression(R^2)," = ",mycor))
[[alt
I'd like to paste a superstring with a number in an object.
Thanks for any help.
Murray
mycor <- cor(1:10,1:10)
plot(1:10,1:10)
text(8,2,paste(expression(R^2)," = ",mycor))
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing
3 matches
Mail list logo