Re: [R] correlation between a discrete variable and a continuous variable

2008-10-16 Thread Greg Snow
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of kdebusk > Sent: Thursday, October 16, 2008 6:54 AM > To: r-help@r-project.org > Subject: [R] correlation between a discrete variable and a continuous > variable > >

[R] correlation between a discrete variable and a continuous variable

2008-10-16 Thread kdebusk
What test would you use to determine if a correlation exists between a discrete variable and a continuous variable? For example, I have a rating for stream water quality (excellent, good, fair, poor) and a corresponding nitrogen concentration. I want to see if there is a correlation between the wa