Combine-Apply

This function checks if two vectors are equal, by comparing each cell and quits when the first mismatch occurs.

1 | ```
BASIX.equal(a,b)
``` |

`a` |
first vector |

`b` |
second vector |

Native R functions compare every entry of the entired vectors,

The R solution would be:

`all(a==b)`

The function can be applied to numeric as well as character vectors

Bastian Pfeifer

1 2 3 4 | ```
a <- 1:10
b <- a
b[2] <- 9
BASIX.equal(a,b)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.