matchIndex: Return the index of source vector matched with query vector

View source: R/InteractDataframe.R

matchIndexR Documentation

Return the index of source vector matched with query vector

Description

Return the index of source vector matched with query vector

Usage

matchIndex(SourceInfo, queryInfo, queryType = TRUE)

Arguments

SourceInfo

the source vector

queryInfo

the query vector

queryType

logical If set it to accurate match (default: TRUE)

Value

the index of source vector matched with query vector

Examples

library(handyFunctions)
data(grade)
matchIndex(grade[, "name"], c("Ming Li", "Bang Wei"))


handyFunctions documentation built on Aug. 22, 2022, 5:06 p.m.