Description Usage Arguments Value Author(s) Examples
grep vector with mutliple pattern and returns number of times each pattern match grep This function uses grep.
1 | multi_greplength(pattern, x, ...)
|
pattern |
Multiple pattern in c() |
x |
a vector |
number of matches for each pattern
praveen Baskran spemannpraveen@gmail.com
1 2 | x<- c("a","b","a")
multi_greplength(pattern=c("a","b"),x=x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.