expand.grid.lower | R Documentation |
This is useful when you want pairwise comparisons, but you don't need the reciprical ('a' <=> 'b' & 'b' <=> 'a').
expand.grid.lower(x, y, diag = FALSE)
x |
a vector |
y |
a vector |
diag |
include same-same comparisons ('a' <=> 'b')? |
a data.frame of all non-reciprical comparisons
expand.grid.lower(1:3, 1:3) expand.grid.lower(1:3, 1:3, diag=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.