powered by
perm.cor.test(x, y, alternative = c("two.sided", "less", "greater"), nperm = 999)
x
y
"two.sided"
"greater"
"less"
cor.test
x <- rnorm(50) y <- runif(50) perm.cor.test(x,y)
Run the code above in your browser using DataLab