GowerProximities: Gower Dissimilarities for mixed types of data

View source: R/GowerProximities.R

GowerProximitiesR Documentation

Gower Dissimilarities for mixed types of data

Description

Gower Dissimilarities for mixed types of data

Usage

  GowerProximities(x, y = NULL, Binary = NULL, Classes = NULL,
                   transformation = 3, IntegerAsOrdinal = FALSE, BinCoef
                   = "Simple_Matching", ContCoef = "Gower", NomCoef =
                   "GOW", OrdCoef = "GOW")

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.

Binary

A vector containing the binary variables.

Classes

Vector with column types. If NULL the data frame types are used.

transformation

Transformation for the similarities.

IntegerAsOrdinal

Should integer variables be used as ordinal?

BinCoef

Coefficient for the binary data

ContCoef

Coefficient for the continuous data

NomCoef

Coefficient for the nominal data

OrdCoef

Coefficient for the ordinal data

Details

The transformation sqrt(1-S) is applied to the similarity.

Value

An object of class proximities.This has components:

comp1

Description of

Author(s)

Jose Luis Vicente-Villardon

References

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

Examples

data(spiders)

MultBiplotR documentation built on Nov. 21, 2023, 5:08 p.m.