Description Usage Examples
View source: R/stringtools.R
Takes elements from a character vector based on Regular Expression
1
take(str, re)
1 2
vec <- c("01", "02", "3", "4", "05") take(vec, "^0")
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.