两个相同的数字向量不相同?

时间:2017-02-21 20:13:55

标签: r

这怎么可能,我怎样才能找出差异?

> a$a
 [1] 7.849803 7.526553 7.639534 7.922609 8.004963 8.607438 7.610484 7.558173        7.718382 7.737507 7.398546 7.932555
[13] 7.473627 7.644294 7.519430 7.878465
> b$b
 [1] 7.849803 7.526553 7.639534 7.922609 8.004963 8.607438 7.610484 7.558173     7.718382 7.737507 7.398546 7.932555
[13] 7.473627 7.644294 7.519430 7.878465
> a$a == b$b
 [1]  TRUE  TRUE FALSE FALSE  TRUE  TRUE FALSE FALSE  TRUE FALSE  TRUE  TRUE      TRUE  TRUE FALSE  TRUE

0 个答案:

没有答案