j.delashe...@ed.ac.uk wrote:
Quoting Peter Ehlers <ehl...@ucalgary.ca>:
j.delashe...@ed.ac.uk wrote:
Quoting baptiste auguie <baptiste.aug...@googlemail.com>:
Hi,
try this,
plot.new()
x=0.8
text(0.5, 0.5, bquote(rho == .(x)))
HTH,
baptiste
Aha!
That does exactly what i wanted! Thanks!
Jose
But does it do what it should? It's customary to use
"rho" for a _population_ correlation coefficient. If your
(x,y) values represent a _sample_, then it would probably
be more appropriate to use the more mundane "r" or
perhaps "rho-hat".
I'm talking rank correlation, Spearman's rho.
Jose
Rank correlation or not, it's still customary to use "r"
or "r[s]" for samples and rho or rho[s] for populations.
But it's up to you, of course.
--
Peter Ehlers
University of Calgary
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.