Displaying 1 result from an estimated 1 matches for "3amerge".
2012 Sep 06
2
merge a list of data frames
...325893778" "200130647544079" "200130446465779" "200120186959078" ...
..$ V2: int [1:700773] 0 0 0 0 0 0 0 0 0 0 ...
..$ V3: num [1:700773] 1 1 1 1 1 1 1 1 1 1 ...
I want to merge them.
I tried to follow
http://rwiki.sciviews.org/doku.php?id=tips%3adata-frames%3amerge
and did:
> data.1 <- Reduce(function(f1,f2) merge(f1,f2,by=c("V1"),all=TRUE), data)
Warning message:
In merge.data.frame(f1, f2, by = c("V1"), all = TRUE) :
column names 'V2.x', 'V3.x', 'V2.y', 'V3.y' are duplicated in the result
> str...