Learn R Programming

DDIwR (version 0.19)

searchFor: Search for key words

Description

Search function to return elements that contain a certain word or regular expression pattern.

Usage

searchFor(
  x,
  where = c("everywhere", "title", "description", "attributes", "examples"),
  ...
)

Value

Character vector of DDI element names.

Arguments

x

Character, either word(s) or a regular expression.

where

Character, in which section(s) to search for.

...

Other arguments to be passed to the grepl() function.

Author

Adrian Dusa