Learn R Programming

MultBiplotR (version 23.11.0)

GowerSimilarities: Gower Dissimilarities for mixed types of data

Description

Gower Dissimilarities for mixed types of data

Usage

GowerSimilarities(x, y = NULL, Classes = NULL, transformation =
                   "sqrt(1-S)", BinCoef = "Simple_Matching", ContCoef =
                   "Gower", NomCoef = "GOW", OrdCoef = "GOW")

Value

An object of class proximities.This has components:

comp1

Description of

Arguments

x

Main data. Distances among rows are calculated if y=NULL. Must be a data frame.

y

Suplementary data matrix. If not NULL the distances among the rows of x and y are calculated. Must be a data frame with the same columns as x.

Classes

Vector containing the classes of each variable.

transformation

Transformation to apply to the similarities.

BinCoef

Coefficient for the binary data

ContCoef

Coefficient for the continuous data

NomCoef

Coefficient for the nominal data

OrdCoef

Coefficient for the ordinal data

Author

Jose Luis Vicente-Villardon

Details

Gower Dissimilarities for mixed types of data. The transformation sqrt(1-S) is applied to the similarity by default.

References

J. C. Gower. (1971) A General Coefficient of Similarity and Some of its Properties. Biometrics, Vol. 27, No. 4, pp. 857-871.

Examples

Run this code
data(spiders)

Run the code above in your browser using DataLab