Description Usage Arguments Value Examples
View source: R/padis_general_functions.R
Using this function and the select
function, a lot of variables can easily be subsetted/selected from a data frame.
1 | generate_stems(strings, search = "\\d+$")
|
strings |
The item names that are used to generate the strings |
search |
The unique element that identify a single item |
Returns the unique stems of a item list
1 2 | names <- paste("var_", 1:5, sep = "")
generate_stems(names, search = "_\\d")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.