Description Usage Arguments Value Examples
View source: R/padis_specific_functions.R
Combine .r and .i Pairs into a .c Variable
1 | real_imagined(data, ignore_double = FALSE, combine_data = TRUE)
|
data |
The data frame that contains the .r and .i variable pairs. The function handles characters and numerics, but not factors. |
ignore_double |
logical. If set to TRUE, cases in which both .i and .r contain values will be ignored and NA will be defined to the .c variable. Default is to |
combine_data |
logical. If set to TRUE, the original data frame will be combined with the new data frame. Default is to |
Returns a data frame with a combined variable .c, which contains the values of the .i and .r variables.
1 2 3 | real_imagined(real_imagined_data)
real_imagined(real_imagined_data, ignore_double = TRUE)
real_imagined(real_imagined_data, ignore_double = TRUE, combine_data=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.