Learn R Programming

simsem (version 0.2-8)

matchKeywords: Search for the keywords and check whether the specified text match one in the name vector

Description

Search for the keywords and check whether the specified text match one in the name vector

Usage

matchKeywords(Names, keywords)

Arguments

Names
The name of the searching object
keywords
The name of the keywords vector that would like to matched

Value

  • The position of keywords in the vector. Return 0 if the names does not match the specified vector.

Examples

Run this code
# This function is not a public function.

# matchKeywords("ly", c("LY", "LX"))

Run the code above in your browser using DataLab