kTransform: Kendall transformation

View source: R/transforms.R

kTransformR Documentation

Kendall transformation

Description

Kendall transformation

Usage

kTransform(x)

Arguments

x

Vector or data frame to be Kendall-transformed; allowed feature types are numeric, integer (treated as numeric), ordered factor, logical and unordered factor with two or less levels. NA and non-finite values are allowed; NaN is treated as NA.

Value

A transformed vector or data frame with transformed columns.

References

"Kendall transformation brings a robust categorical representation of ordinal data" M.B. Kursa. SciRep 12, 8341 (2022).

Examples

kTransform(data.frame(Asc=1:3,Desc=3:1,Vsh=c(2,1,2)))

praznik documentation built on May 20, 2022, 5:06 p.m.