First: I have a vector of data - a column of one dataframe (let's call it vector A). Second: I also have second dataframe with a column, containing similar data (vector B). Third: I need to check if any element from the vector A is inside the strings (elements) of the vector B.
For example: vector A = c("A10", "A25", "A87") The vector B = c("strain A8", "strain A25", "strain A35") Result: FALSE, TRUE, FALSE
Aucun commentaire:
Enregistrer un commentaire