Re: [R] how to display a string containing greek chrs and variables

2009-11-03 Thread Peter Ehlers
j.delashe...@ed.ac.uk wrote: Quoting Peter Ehlers : j.delashe...@ed.ac.uk wrote: Quoting baptiste auguie : 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 custo

Re: [R] how to display a string containing greek chrs and variables

2009-11-03 Thread J . delasHeras
Quoting Peter Ehlers : j.delashe...@ed.ac.uk wrote: Quoting baptiste auguie : 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 _popul

Re: [R] how to display a string containing greek chrs and variables

2009-11-03 Thread Peter Ehlers
j.delashe...@ed.ac.uk wrote: Quoting baptiste auguie : 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 coeffi

Re: [R] how to display a string containing greek chrs and variables

2009-11-03 Thread J . delasHeras
Quoting baptiste auguie : 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 -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. __

Re: [R] how to display a string containing greek chrs and variables

2009-11-03 Thread baptiste auguie
Hi, try this, plot.new() x=0.8 text(0.5, 0.5, bquote(rho == .(x))) HTH, baptiste 2009/11/3 : > > I'm trying something that I thought would be pretty simple, but it's proving > quite frustrating... > > I want to display, for instance, the correlation coefficient "rho" in a > graph. > > I can d

[R] how to display a string containing greek chrs and variables

2009-11-03 Thread J . delasHeras
I'm trying something that I thought would be pretty simple, but it's proving quite frustrating... I want to display, for instance, the correlation coefficient "rho" in a graph. I can do something like: text(x, y, paste("rho =", cor)) where cor would be my previously calculated correlation