View source: R/InteractDataframe.R
queryingInfo | R Documentation |
return index of x data.frame with the given vector/list or ycol in data.frame (if set the accurate match or not)
queryingInfo(SourceData, sourceCol, queryCol, queryInfo, queryType = TRUE)
SourceData |
the source data.frame which you want to query |
sourceCol |
the col names or index of query field in source data.frame |
queryCol |
the col names or index of return field in source data.frame |
queryInfo |
vector/list the query info |
queryType |
logical if set it to accurate match (default: TRUE) |
a vector in query field matched with query info in source data
library(handyFunctions) data(grade) queryingInfo(grade, "name", "chinese", c("Ming Li", "Bang Wei"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.