
Last chance! 50% off unlimited learning
Sale ends in
my.table
checks two vectors on equality, two NA's and two NaN's
compare as equal.eql(x, y)
eql(c(1,2,3),c(1,3)) #> TRUE FALSE FALSE
eql(c(1,2,3),c(1,2)) #> TRUE TRUE FALSE
eql(c(NA,NaN,2,3),c(NA,NaN,1,2)) #> TRUE TRUE FALSE FALSE
Run the code above in your browser using DataLab