Gower Dissimilarities for mixed types of data
GowerProximities(x, y = NULL, Binary = NULL, Classes = NULL,
transformation = 3, IntegerAsOrdinal = FALSE, BinCoef
= "Simple_Matching", ContCoef = "Gower", NomCoef =
"GOW", OrdCoef = "GOW")
An object of class proximities
.This has components:
Description of
Main data. Distances among rows are calculated if y=NULL. Must be a data frame.
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.
A vector containing the binary variables.
Vector with column types. If NULL the data frame types are used.
Transformation for the similarities.
Should integer variables be used as ordinal?
Coefficient for the binary data
Coefficient for the continuous data
Coefficient for the nominal data
Coefficient for the ordinal data
Jose Luis Vicente-Villardon
The transformation sqrt(1-S)
is applied to the similarity.
J. C. Gower. (1971) A General Coefficient of Similarity and Some of its Properties. Biometrics, Vol. 27, No. 4, pp. 857-871.