Description Usage Arguments Details Value
View source: R/sample_sample_plot.R
This function takes an integer n and a matrix m. The goal is to generate all pairings of n with members of l (except n itself). This is done in index space (e.g., if n=1, then it would provide (1,2), (1,3), (1,4) for a 4-column matrix).
1 | pair_with(n, m)
|
n |
The index of sample to pair everything against. |
m |
A matrix of samples (one column is one sample). |
I suspect there is a function in R to do this, but I couldn't find it quickly.
A matrix of columns representing pairings to consider.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.