match_word | R Documentation |
Find word within a sentence
match_word(x, tbl)
x |
A character vector of uppercase sentences. |
tbl |
A table of words. Long vectors are not permitted. |
An integer vector the same length as x
, where the
i
-th entry
is the integer position of the first word in tbl
detected in x[i]
. Non-matches return NA
. Words
are strings of uppercase separated by spaces.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.