Function to check if an element belongs to a category according to a
thesaurus. It is similar to
is.element, returning a logical vector indicating if each
element in a given vector is included in a given set. But
checks for equality assuming the equivalencies defined in the given thesaurus.
Character vector to be checked for its inclusion in the category.
Character vector identifying the categories in which the
A thesaurus object.
A logical vector of the same length as
x. Each value answers the
question: Does the corresponding element in
x belongs to any of
the thesaurus categories identified by
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.