Pairwise correlation between x and y
Usage
paircorxyf(x, y, method = "gaussrank")
Arguments
- x
input vector
- y
input vector
Value
cor, the pairwise correlations between x and y
Examples
x = rnorm(100)
y = rnorm(100)
paircorxyf(x,y)
#> Error in apply(x, 2, function(xvec) { qnorm(rank(xvec)/(n + 1))}): dim(X) must have a positive length