powered by
Finds common elements in vectors
muclass(labels, class)
A logical vector which is TRUE for each element in labels which matches class or an element of class.
labels
class
A vector of labels.
A label or vector of labels.
match
muclass(c("a", "b", "c"), c("a", "c")) #[1] TRUE FALSE TRUE
Run the code above in your browser using DataLab