KendallsTau: Statistical correlation by Kendall

View source: R/KendallsTau.R

KendallsTauR 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)))
}



DRquality documentation built on Oct. 12, 2023, 5:13 p.m.