Test if two vectors are equal
This function checks if two vectors are equal, by comparing each cell and quits when the first mismatch occurs.
Native R functions compare every entry of the entired vectors,
The R solution would be:
The function can be applied to numeric as well as character vectors
1 2 3 4
a <- 1:10 b <- a b <- 9 BASIX.equal(a,b)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.