| p_gsub | R Documentation |
A wrapper function for gsub(), with the x argument listed first to support native piping.
p_gsub(x, ...)
x |
the character string |
... |
additional arguments passed to |
a logical object
c('dog','elephant','cat','horse','hippopotamus') |> p_gsub('^h','H')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.