Learn R Programming

praznik (version 11.0.0)

kTransform: 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

Run this code
# NOT RUN {
kTransform(data.frame(Asc=1:3,Desc=3:1,Vsh=c(2,1,2)))
# }

Run the code above in your browser using DataLab