Search Results

Search: Posts Made By: Ross
4,060
Posted By Ross
Hi Corona, Yes it is pearson correlations i...
Hi Corona,

Yes it is pearson correlations i was referring to. That works very well.

Thank you very much for your code.
4,060
Posted By Ross
Apologies if unclear but the sample data was...
Apologies if unclear but the sample data was described in the initial post. I have added it again below.

Input file:
Name C1 C2 C3 C4 C5 C6

R1 1 2 3 4 5 6

R2 2 1 1 0 1 0...
4,060
Posted By Ross
At the moment i have got around this by...
At the moment i have got around this by transposing the file first and then running the existing code.

------ Post updated at 06:10 PM ------

Apologies i sent the reply before i had finished....
4,060
Posted By Ross
Calculating correlations across columns in awk
Hello,

I came across a previous thread "awk-calculating-simple-correlation-rows" which calculated correlations across rows in awk.

Code:
awk '{
a = 0; for (i = 2; i <= NF; ++i)...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 11:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy