Learn R Programming

emuR (version 1.0.0)

muclass: Find common elements in vectors

Description

Finds common elements in vectors

Usage

muclass(labels, class)

Arguments

labels

A vector of labels.

class

A label or vector of labels.

Value

A logical vector which is T for each element in labels which matches class or an element of class.

See Also

match

Examples

Run this code
# NOT RUN {
muclass(c("a", "b", "c"), c("a", "c"))
#[1] T F T

# }

Run the code above in your browser using DataLab