Re: [R] xy.coords in text

2008-10-24 Thread Xavier Robin
options include using the grconvertX and grconvertY functions. > > Hope this helps, > > -- > Gregory (Greg) L. Snow Ph.D. > Statistical Data Center > Intermountain Healthcare > [EMAIL PROTECTED] > 801.408.8111 > > >> -Original Message- >> Fr

Re: [R] xy.coords in text

2008-10-23 Thread Greg Snow
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] xy.coords in text Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with thei

Re: [R] xy.coords in text

2008-10-23 Thread Greg Snow
Sender: [EMAIL PROTECTED] On-Behalf-Of: [EMAIL PROTECTED] Subject: Re: [R] xy.coords in text Message-Id: <[EMAIL PROTECTED]> Recipient: [EMAIL PROTECTED] This information is being sent at the recipient's request or with thei

Re: [R] xy.coords in text

2008-10-23 Thread Greg Snow
AIL PROTECTED] 801.408.8111 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Xavier Robin > Sent: Thursday, October 23, 2008 5:58 AM > To: r-help@r-project.org > Subject: [R] xy.coords in text > > Hello, > >

[R] xy.coords in text

2008-10-23 Thread Xavier Robin
Hello, I want to add text annotation about correlation on "pairs" plots. I found that I could pass a function to the "panel" argument of pairs : panel.annot <- function(x, y, ...) { points(x, y, ...) c <- cor.test(x, y) legend("topleft", legend=substitute(rho == r, list(r=sprintf("%