Re: [R] Question about correlation

2017-07-06 Thread Göran Broström
Please keep the conversation on the list: Others may be able to help you better than I can. On 2017-07-06 10:38, SEB140004 Student wrote: Ya. I had successfully got the result. Thank you very much. :) Isn't possible for me to obtain the network from the correlation matrix? I know nothing abo

Re: [R] Question about correlation

2017-07-05 Thread Jim Lemon
I think that Goran is right, I didn't take "cor(data)" literally. Jim On Thu, Jul 6, 2017 at 3:38 AM, Göran Broström wrote: > On 2017-07-05 11:56, Jim Lemon wrote: >> >> Hi Chin Yi, >> If you are trying to correlate "Health" with "Disease", i.e. >> >> cydf<-read.table(text="OTU ID Health Diseas

Re: [R] Question about correlation

2017-07-05 Thread Göran Broström
On 2017-07-05 11:56, Jim Lemon wrote: Hi Chin Yi, If you are trying to correlate "Health" with "Disease", i.e. cydf<-read.table(text="OTU ID Health Disease Bacterial 1 0.29 0.34 Bacterial 2 0.25 0.07 Bacterial 3 0.06 0.06 Bacterial 4 0.07 0.09 Bacterial 5 0.02 0.05", header=TRU

Re: [R] Question about correlation

2017-07-05 Thread Jim Lemon
Hi Chin Yi, If you are trying to correlate "Health" with "Disease", i.e. cydf<-read.table(text="OTU ID Health Disease Bacterial 1 0.29 0.34 Bacterial 2 0.25 0.07 Bacterial 3 0.06 0.06 Bacterial 4 0.07 0.09 Bacterial 5 0.02 0.05", header=TRUE) print(cor(cydf$Health,cydf$Disease)) [1] 0.

[R] Question about correlation

2017-07-05 Thread SEB140004 Student
Greeting. Dear Mr/Mrs/Miss, OTU ID Health Disease Bacterial 1 0.29 0.34 Bacterial 2 0.25 0.07 Bacterial 3 0.06 0.06 Bacterial 4 0.07 0.09 Bacterial 5 0.02 0.05 Above show the first 6 data sets, may I ask that the reason of R show the error like "Error in cor(data) : 'x' must be numeric" ? And how

Re: [R] : Question about correlation between data.

2009-10-19 Thread Lucky Strike
Lucky Strike wrote: > > hi everybody, I'm a student, and I'm new using R! > I'm looking for statistical > help hoping somebody can answer me! > > This is my problem: > I have 2 temporal > series. The firstone is a series of mesured data (height of monitorated > points), the second is a

[R] : Question about correlation between data.

2009-10-16 Thread antoniogone...@libero.it
hi everybody, I'm a student, and I'm new using R! I'm looking for statistical help hoping somebody can answer me! This is my problem: I have 2 temporal series. The firstone is a series of mesured data (height of monitorated points), the second is a series of temperature (in Celsius degree).