Description Usage Arguments Value Examples
View source: R/padis_specific_functions.R
This function matches two items from a data frame data
by looking for their common stem (var_stem
), and the pattern at the end that makes each variable name unique (end_pattern
). The function is mainly used in imaginer
.
1 |
data |
The data frame in which the variables should be found |
var_stem |
The stem of the items, i.e. what both item-names share |
end_pattern |
The pattern at the end of the variable that makes both variables unique |
A vector of length 2 with the two identified variables names
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.