Open MalteThodberg opened 4 years ago
Super useful package!
Good old cor can easily calculate correlation between the columns of two matrices, like:
cor(iris[,1:2], iris[,3:4]) Petal.Length Petal.Width Sepal.Length 0.8717538 0.8179411 Sepal.Width -0.4284401 -0.3661259
Would it be possible to support the same for pcor?
I have a similar need for calculating cosine similarities for two matrices.
Thank you!
Super useful package!
Good old cor can easily calculate correlation between the columns of two matrices, like:
cor(iris[,1:2], iris[,3:4]) Petal.Length Petal.Width Sepal.Length 0.8717538 0.8179411 Sepal.Width -0.4284401 -0.3661259
Would it be possible to support the same for pcor?