Message-ID: <4AF0621E.6030908@ucalgary.ca>
Date: 2009-11-03T17:02:22Z
From: Peter Ehlers
Subject: how to display a string containing greek chrs and variables
In-Reply-To: <20091103163053.tqyvfobwjoc8c4wo@www.staffmail.ed.ac.uk>
J.delasHeras at ed.ac.uk wrote:
> Quoting baptiste auguie <baptiste.auguie at 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".
>
--
Peter Ehlers
University of Calgary