Find a specific variable by keywords

Share:

Description

contains look at the description of a Variable object and test whether the keywords are in. Option ignore.case allows to be case sensitive or not. Default is FALSE. Option and allows to ask for the presence of all keywords (and = TRUE) or just one or more (and = FALSE). Default is (and = FALSE).

Methods

signature(keywords = "character", data = "Dataset")

contains method for a Variable object. Value is either a Dataset containing all the variables satisfying the condition on the existence of the keywords, or an empty Dataset object.

signature(keywords = "character", data = "Variable")

contains method for a Variable object. Value is a logical