setdiff | R Documentation |
Loosely replicates the behavior of the homonym Matlab function
setdiff(A, B, legacy = FALSE)
A |
first array |
B |
second array |
legacy |
if |
An array containing he elements which are in A but not in B
Waldir Leoncio
A <- c(3, 6, 2, 1, 5, 1, 1) B <- c(2, 4, 6) setdiff(A, B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.