search for: cydf

Displaying 5 results from an estimated 5 matches for "cydf".

Did you mean: cdf
2017 Jul 05
1
Question about correlation
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=TRUE) > print(cor(cydf$Health,cydf$Disease)) > [1] 0.7103517 > > I...
2017 Jul 05
1
Question about correlation
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.7103517 If you are getting that error, it probably means that eit...
2017 Jul 05
1
Question about correlation
...r(data)" literally. Jim On Thu, Jul 6, 2017 at 3:38 AM, G?ran Brostr?m <goran.brostrom at umu.se> 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 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)) &gt...
2017 Jul 06
0
Question about correlation
..., G?ran Brostr?m <goran.brostrom at umu.se > <mailto:goran.brostrom at umu.se>> 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 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(...
2017 Jul 05
1
Question about correlation
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 to solve it? Besides, isn't this data can conduct correlation matrix?