coeffRV(X, Y)X and Y. It returns also the standardized RV,
the expectation, the variance and the skewness under the permutation
distribution. These moments are used to approximate the exact
distribution of the RV statistic with the Pearson type III approximation and the p-value associated to this test is given.
data(wine)
X <- wine[,3:7]
Y <- wine[,11:20]
coeffRV(X,Y)
Run the code above in your browser using DataLab