Learn R Programming

clusterSim (version 0.51-5)

dist.SM: Calculates Sokal-Michener distance measure for nominal variables

Description

Calculates Sokal-Michener distance measure for nominal variables

Usage

dist.SM(x)

Value

object with calculated distance

Arguments

x

matrix or data set

Author

Marek Walesiak marek.walesiak@ue.wroc.pl, Andrzej Dudek andrzej.dudek@ue.wroc.pl

Department of Econometrics and Computer Science, University of Economics, Wroclaw, Poland

Details

See file $R_HOME\library\clusterSim\pdf\distSM_details.pdf for further details

References

Gatnar, E., Walesiak, M. (Eds.) (2004), Metody statystycznej analizy wielowymiarowej w badaniach marketingowych [Multivariate statistical analysis methods in marketing research], Wydawnictwo AE, Wroclaw, p. 43.

Kaufman, L., Rousseeuw, P.J. (1990), Finding groups in data: an introduction to cluster analysis, Wiley, New York, p. 28. ISBN: 978-0-471-73578-6.

See Also

dist.GDM, dist.BC, dist

Examples

Run this code
library(clusterSim)
data(data_nominal)
d <- dist.SM(data_nominal)

Run the code above in your browser using DataLab