Displaying 1 result from an estimated 1 matches for "test3_df".
Did you mean:
test1_df
2009 May 29
2
Odd Behavior Out of setdiff(...) - addition of duplicate entries is not identified
...hat should be used to identify duplicate row entries between two different data frames?
Thanks in advance for any feedback.
Test1_DF<-data.frame(HouseSize=c(1:100))
Test2_DF<-rbind(Test1_DF, Test1_DF)
setdiff(Test1_DF, Test2_DF)
integer(0)
setdiff(Test2_DF, Test1_DF)
integer(0)
However,
Test3_DF<-data.frame(HouseSize=c(1:25))
setdiff(Test1_DF, Test3_DF)
[1] 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
[17] 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
[33] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
[49] 74 75 76 77 78 79...