[Solved] I don’t know R and I want to calculate Spearman correlation in R with a given alpha and want to know the p value [closed]
Spearman correlations can be produced with the corr.test() function from the psych package. To illustrate use of Spearman correlation with ranked data, we’ll create two ranked variables for the Motor Trend Cars data set, mtcars, install the psych package, and then run corr.test(). install.packages(“psych”) library(psych) # create a couple of rank variables with mtcars data … Read more