search for: tmv3

Displaying 1 result from an estimated 1 matches for "tmv3".

Did you mean: tmp3
2009 May 08
1
Merging two data frames with 3 common variables makes duplicated rows
...style : Factor w/ 2 levels "clas","free": 2 2 2 2 2 2 2 2 2 2 ... Note that the two data frames have "sexe", "dist", and "style" as common variables, and of the same class (Factor) and number of levels. When merging the two data frames into "tmv3", the merging is fine, but all the rows get duplicated: > tmv3 <- merge(tmv, meil2, sort=TRUE, by=c("sexe", "dist", "style") ) > tmv3[1:10,] sexe dist style temps nom prenom meil 1 F 38 clas 02:49:15 Boucher Marie-Amelie 0...