Description Usage Arguments Value Examples
View source: R/grepl_ClusterCategory.R
Find a substring in a comma-separated string
1 |
x |
The character vector to search in. |
table |
A character vector of terms to search for. |
Equivalent to grepl(table, x, fixed = TRUE)
or grepl(paste0(table, collapse = "|"), x)
for sufficiently
fixed patterns in table
.
1 2 | x <- c("Other", "Foo, Other", "Childcare, Education")
grepl_ClusterCategory(x, c("Education", "Other"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.