Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CategoricalDistances

Distances among individuals using nominal variables.


Description

Distances among individuals using nominal variables.

Usage

CategoricalDistances(x, y = NULL, coefficient = "GOW", transformation = "sqrt(1-S)")

Arguments

x

Matrix of Categorical Data

y

A second matrix of categorical data with the same variables as x

coefficient

Similarity coefficient to use (see details)

transformation

Transformation of the similarity into a distance

Details

The function calculates similarities and dissimilarities among a set ob ogjects characterized by a set of nominal variables. The function uses similarities and converts into dissimilarities using a variety of transformations controled by the user.

Value

A matrix with distances among the rows of x and y. If y is NULL the interdistances among the rows of x are calculated.

Author(s)

Jose Luis Vicente Villardon

References

dos Santos, T. R., & Zarate, L. E. (2015). Categorical data clustering: What similarity measure to recommend?. Expert Systems with Applications, 42(3), 1247-1260.

Boriah, S., Chandola, V., & Kumar, V. (2008). Similarity measures for categorical data: A comparative evaluation. red, 30(2), 3.

Examples

##---- Should be DIRECTLY executable !! ----

MultBiplotR

Multivariate Analysis Using Biplots in R

v1.3.30
GPL (>= 2)
Authors
Jose Luis Vicente-Villardon
Initial release
2021-03-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.