muclass {emuR}R Documentation

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 TRUE for each element in labels which matches class or an element of class.

See Also

match

Examples


muclass(c("a", "b", "c"), c("a", "c"))
#[1] TRUE FALSE TRUE


[Package emuR version 2.5.0 Index]