Good day!
I'm trying to find a value of Spearman correlation between two vectors.
The data is here: Ранговая корреляция
The Spearman Correlation Coefficient here is 0.638.
But when I'm trying it in R - the Spearman Correlation Coefficient is 0.484
rx=c(1.5,1.6,2.1,2.1,2.2,2.2,2.3,2.3,2.6,3.0)
ry=c(1.0,3.7,2.4,2.1,3.3,3.6,3.6,2.9,3.0,4.0)
t<-data.frame(rx,ry)
cor(t,method="spearman")
Please, help me - how to count this coefficient properly?
Olga