compareVecVec {KarsTS} | R Documentation |
compareVecVec: compare the elements of two vectors
Description
Checks whether there are any shared elements between two vectors.It is used internally
Usage
compareVecVec(VA, VB)
Arguments
VA |
One vector |
VB |
Another vector |
Value
A logical matrix showing the coincidences
Author(s)
Marina Saez Andreu
Examples
compareVecVec(1:10, 7:12)
V1 <- c("Apples", "Strawberries","Watermelon")
V2 <- c("Ananas", "Apples", "Strawberries", "Coconut")
compareVecVec(V1,V2)
[Package KarsTS version 2.4.1 Index]