| p_grep | R Documentation |
A wrapper function for grep(), with the x argument listed first to support native piping.
p_grep(x, ...)
x |
the character string |
... |
additional arguments passed to |
the positions of the matches
c('dog','elephant','cat','horse','hippopotamus') |> p_grep('^h',value=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.