Description Usage Arguments Value Note Author(s) References See Also Examples
Calculates a complete empirical measure of mutual multivariate independence. Makes use of the utils::combn function.
1 |
S |
The n x d matrix for which you wish to calculate the dependence between d columns from n samples. |
group |
A length d vector which indicates group membership for each component. |
alpha |
The index used in calculating the distance between sample observations. |
Returns a scalar equal to the empirical multivariate distance between the observed samples, and their grouped counterpart.
Suppose that the each component belongs to exactly one of C groups. This method makes use of the utils::combn and combinat::permn functions. As a result it will be both computationally and memory intensive, even for small to moderate n and small C.
Nicholas James
Chasalow, Scott (2012) combinat: Combinatorics Utilities <http://CRAN.R-project.org/package=combinat
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.