Description Usage Arguments Examples
Takes a vector of search terms and searches the column of a data.frame. Returns named columns to the data frame with logical values.
1 | term_to_col2(df, col, expr)
|
df |
A data frame with the target column |
col |
The column to be searched |
expr |
A search term or vector of search terms |
1 | ## Not run: a <- term_to_col2(sentences_country, "word", expr = c("ocean", "marine"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.