| contains_IM | R Documentation |
Check whether value is in vector or string. Equivalent of .Contains() in Insight Maker.
contains_IM(haystack, needle)
haystack |
Vector or string to search through |
needle |
Value to search for |
Logical value
contains_IM(c("a", "b", "c"), "d") # FALSE
contains_IM(c("abcdef"), "bc") # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.