Considering a list x
consisting of% with% vectors. To illustrate the problem I have thought that it has 3 elements, as follows:
>x
$'2751006'
[1] 106.2 75.4 65.4 87.4 76.8 196.4 74.2
$'2751007'
[1] 73.9 110.1 101.3
$'2752006'
[1] 100.0 200.0
How can I restructure the information in this list in% with% of two columns of names X1 and X2:
X1 X2
106.2 2751006
75.4 2751006
65.4 2751006
87.4 2751006
76.8 2751006
196.4 2751006
74.2 2751006
73.9 2751007
110.1 2751007
101.3 2751007
100.0 2752006
200.0 2752006