Search Results

Search: Posts Made By: Ryan Kim
858
Posted By Ryan Kim
How to get following result using foreach command?
Dear all,

For example, if data contains following numbers:1 2 3 4 5 6

I would like get like below using foreach command,1 2
1 3
1 4
1 5
1 6

2 3
2 4
2 5
2 6

3 4
3 5
3 6

4 5
1,350
Posted By Ryan Kim
Subbeh, Thanks a lot !!!! This really works
Subbeh,

Thanks a lot !!!! This really works
1,350
Posted By Ryan Kim
Delete a specific line containing non consecutive number?
Dear Specialists,
I have following data


1 1 2
2 2 3
3 3 6
4 3 4
5 4 9
6 5 11
7 6 7


and I would like to obtain data like below


1 1 2
2 2 3
4 3 4
7 6 7
5,082
Posted By Ryan Kim
One more question
Sorry for bothering you. I would like to know how to get average of the number grouped by column 1.

If I have following data,


0 1
0 2
0 3
0 4
0 5
1 1
1 2
1 3


The result I would...
5,082
Posted By Ryan Kim
Sincerely appreciate it !
Sincerely appreciate it !
5,082
Posted By Ryan Kim
Thanks for your help. I have one more question
Thanks. It really works.

Also, I would appreciate it a lot if you reply me how to obtain maximum value in the group.

The result I would like to get is following


0 4
1 4
2 3
5,082
Posted By Ryan Kim
No. It is the result from my research
That is a part of result which represents the stacking interaction in DNA. Column 1 represents time, Column 2 is residue in DNA participating stacking interaction. I just want to know the how many...
5,082
Posted By Ryan Kim
Counting a consecutive number in column 2
Hi,
I have a input file which contains following data


0 1
0 2
0 3
0 4
0 8
0 9
0 11
1 1
1 2
1 6
1 7
1 8
1 9
2 1
2 11
2 12
Showing results 1 to 8 of 8

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