Description Usage Arguments Value Examples
Given a vector of elements this function calculates the unique combinations between all element
1 | unique_pairs(vec)
|
vec |
A Dataframe with (n^2-n)/2 observations
1 2 | # unique pairs of 3 companies, a dataframe with (3^2-3)/2 = 3 observations is returned
unique_pairs(c("comp_1", "comp_2", "comp_3"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.