Re: [R] Correlation code not working but not sure why

2017-03-22 Thread John C Frain
I can't see anything wrong with your code. You should read the posting guide and produce a minimal example showing the problem and any other details requested there. If I take just the small sample of data that you have provided and run a slightly adapted version of your code data = read.table("q

[R] Correlation code not working but not sure why

2017-03-22 Thread Ashley Patton via R-help
Good afternoon, I was wondering if someone could help me with what I am sure is likely to be a really simple problem but I cannot work out what I have done wrong. I have tried searching the forums/Google etc but can't find anything quite like the code I am using other than things that do not di