make_pairs | R Documentation |
Take a character with the names of the longitudinal outcome variables and make all unique pairs
make_pairs(outcomes)
outcomes |
a character vector with the names of longitudinal outcomes |
a matrix of length(outomes)*(length(outcomes)-1)/2 rows and 2 columns with all unique pairs.
pairs <- make_pairs(outcomes = c("y1", "y2", "y3", "y4"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.