KendallsTau {DRquality} | R Documentation |
Statistical correlation by Kendall
Description
Calculates the statistical correlation by Kendall. Basically a wrapper to pcaPP::cor.fk.
Usage
KendallsTau(InputDists, OutputDists)
Arguments
InputDists |
Matrix containing the distances of the first dataset. |
OutputDists |
Matrix containing the distances of the second dataset. |
Value
Equivalent to cor.fk
Author(s)
Michael Thrun
Examples
if(requireNamespace("FCPS")){
data(Hepta,package="FCPS")
InputDist=dist(Hepta$Data)
projection=cmdscale(InputDist, k=2)
KendallsTau(as.matrix(InputDist),as.matrix(dist(projection)))
}
[Package DRquality version 0.2.1 Index]