variable_pair_combinations | R Documentation |
Useful in a an apply loop when associations should be tested between many variables in a data frame.
variable_pair_combinations(data, sel = tidyselect::everything())
data |
a data frame as input |
sel |
parsed to dplyr::select(). To include/exclude variables. |
a character value matrix with two columns, containing all possible pairs of variable names
variable_pair_combinations(immune_data, sel = -c(Sex, Frailty.index, Batch))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.