The structure of the data file looks like this:
2.0 0 3 9.15400
5.40189 0.77828 0.66432
0.44219 0.00000
2.0 0 1 9.15400
0.00000
2.0 0 6 9.15400
7.38451 3.99120 2.23459 1.49781 0.77828 0.00000
2.0 0 3 9.15400
2.09559 0.77828 0.00000
2.0 0 3 9.15400
2.09559 0.77828 0.65828
0.58990 0.00000
and so on
I want to create a data frame that should look like this:
9.15400 5.40189 0.77828 0.44219 0.00000
9.15400 0.00000
9.15400 7.38451 3.99120 2.23459 1.49781 0.77828 0.000
9.15400 2.09559 0.77828 0.00000
9.15400 2.09559 0.77828 0.65828 0.58990 0.00000
I am finding it a bit complicated, can someone please show me how it can be solved?