FuzzyPlot: Displays a Fuzzy Plot In VisuClust: Visualisation of Clusters in Multivariate Data

Description

A Fuzzy Plot is a 2D Scatter Plot that displays the result of Sammon's Nonlinear Mapping together with a fuzzy clustering. The values u[i,k] (i=1,...,nPoints; k=1,...,nPoints), which states the membership of the i.th observation for the cluster k, can be computed for example with fanny from the package cluster.

If the slider is on the last position, all cluster are displayed together. The color and the symbol indicates the nearest crisp clustering then (max u[i,k], k=1,...,nClusters). The color intensity displays the probability of membership to the nearest cluster.

A single cluster can be selected too by setting the slider in position 1 to nClusters. The color intensity and the label size (if labels are set) shows the probability of membership to the selected cluster.

Usage

 1 2 3 4 FuzzyPlot(xSammon, probs, clusterColors=rainbow(dim(probs)), clusterSymbols=rep(21,dim(probs)), labels=NULL, labelSize=c(0.6, 1.0), xlab="", ylab="", main="", enableLegend=TRUE, cex=c(0.7, 1.4))

Arguments

 xSammon A matrix with size (nPoints,2) that contains the projected points from Sammon's Nonlinear Mapping. See sammon (package MASS). probs A matrix with size (nPoints, nClusters) that contains the probabilities of membership for each cluster. See the membership argument of fanny (package cluster). clusterColors A vector of size nClusters that contains the colors for the clusters. One should only choose colors with a very high intensity. See colors. clusterSymbols A vector of size nClusters that contains the symbols for the clusters. Not all symbols can be filled. If this is wanted, one should use the symbols 15-20. See points. labels A string-array with labels for the points (size: nPoints). labelSize The size of the labels in the form c(min, max). xlab A title for the x axis (as described in plot). ylab A title for the y axis (as described in plot). main An overall title for the plot (as described in plot). enableLegend Switch legend on/off. cex Two numerical values in the form c(min,max) giving the amount by which plotting text and symbols should be magnified relative to the default (as described in par).

Author(s)

Michael Sieger <sieger-michael@web.de>
Georg Ohmayer <georg.ohmayer@hswt.de>

Examples

 1 2 3 4 5 6 7 8 9 10 11 12 13 library(cluster) library(MASS) # The example data data("MilchSmall") M <- scale(:6]) D <- dist(M) S <- sammon(D) F <- fanny(D, 6) FuzzyPlot(S\$points, F\$membership, labels=,2], clusterColors=c("red", "green", "magenta", "yellow", "blue", "black"))

VisuClust documentation built on May 2, 2019, 6:53 a.m.