Displaying 1 result from an estimated 1 matches for "tmpx1".
Did you mean:
tmp1
2009 Jun 18
3
merging data.frames of different length
hi,
I have two data.frames each with two columns;
x1
1 4
1 3
1 6
2 9
2 2
2 5
3 6
3 7
3 4
x2
1 -3
1 -7
2 -3
2 -2
2 -8
3 -1
3 -2
3 -1
now I want to merge this data.frames to one data.frame.
The problem is, that sometimes there is a different number of elements
per category.
(like above x1 has 3 values for the value 1 in the first row, but x2
has only 2 values for the value 1 in the