Calculates the statistical correlation by Kendall. Basically a wrapper to pcaPP::cor.fk.
KendallsTau(InputDists, OutputDists)
Equivalent to cor.fk
Matrix containing the distances of the first dataset.
Matrix containing the distances of the second dataset.
Michael Thrun
# \donttest{
if(requireNamespace("FCPS")){
data(Hepta,package="FCPS")
InputDist=dist(Hepta$Data)
projection=cmdscale(InputDist, k=2)
KendallsTau(as.matrix(InputDist),as.matrix(dist(projection)))
}
# }
# \dontshow{
n=100
Data=cbind(rnorm(100),rnorm(100,2,3))
InputDist=dist(Data)
projection=cmdscale(InputDist, k=2)
KendallsTau(as.matrix(InputDist),as.matrix(dist(projection)))
# }
Run the code above in your browser using DataLab