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

--
Dr. Jose I. de las Heras                      Email: j.delashe...@ed.ac.uk
The Wellcome Trust Centre for Cell Biology    Phone: +44 (0)131 6513374
Institute for Cell & Molecular Biology        Fax:   +44 (0)131 6507360
Swann Building, Mayfield Road
University of Edinburgh
Edinburgh EH9 3JR
UK
*********************************************
NEW EMAIL from July'09: nach.mcn...@gmail.com
*********************************************

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

______________________________________________
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.

Reply via email to