Description Usage Details Value Examples
applies given function to all combinations of matrix columns
1 | allCombApplyM(inmat, FUN, ...)
|
FUN
should have two (vector) parameters such as function(v1, v2) {cor(v1, v2)}
symmetric matrix
1 | allCombApplyM(matrix(rnorm(25), nrow = 5), FUN = cor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.