getKeywordPositions | R Documentation |
Localise Keywords in Data Frame
getKeywordPositions(dataFrame, keywords, asDataFrame = TRUE)
dataFrame |
data frame or matrix in which to search for given keywords |
keywords |
(list of) keywords to be looked for in data frame |
asDataFrame |
if TRUE (default), a data frame is returned, otherwise a matrix |
data frame (if asDataFrame = TRUE) or matrix with one column per keyword that was given in keywords. The first row contains the row numbers and the second row contains the column numbers, respectively, of the fields in dataFrame in which the corresponding keywords were found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.