Hi,
I hope somebody can help me refining the awk code below. I use this code to unstack the following columns. It is relatively straightforward:patientnumber, time and observation columns
1 0 0
1 10 0
1 45 4
1 75 8
1 105 9
1 122 9
1 165 9
1 210 8
1 270 8
1 330 4
1 390 4
1 450 4
1 490 3
2 0 0
2...