Re: [Rd] fuzzy c-means algorithm in e1071

From: Uwe Ligges <>
Date: Fri, 15 Jul 2011 15:10:21 +0200

Since you are talking about a contributed package: Please send feature requests to the package maintainer:

 > maintainer("e1071")
[1] "Friedrich Leisch <>"

It is even a better idea to send him your own code suggestions so that it will be quicker to add the requested features to the package.

Uwe Ligges

On 15.07.2011 10:11, Tim Smyth wrote:
> I was wondering if it was possible to add an extra option to the cmeans
> function please? In a recent paper by Moore et al.,(2009) they state:
> "The fuzzy membership function is: 1 - F(Z2), where Z2 is a squared
> Mahalanobis distance and F is a cumulative chi-square distribution. The
> Mahalanobis distance is the multivariate equivalent of the standardised
> random variable Z = (X - M)/S, which is the distance of the univariate
> random variable X from its mean M normalised by the standard deviation S.
> In other words, the Mahalanobis distance is a weighted form of the
> Euclidean, and is preferable because it incorporates the shape of the the
> distribution of points around the cluster centre (i.e., the geometric shape
> of the point cloud expressed in terms of variance). The fuzzy membership
> ranges from 0 to 1 ..."
> so as well as having a dist = "euclidean" option, would it be possible to
> have a dist = "mahalanobis" option please? I realise that this is quite an
> ask - you could even point me in the right direction of where to start
> editing code and getting it compiled on my own machine.
> Tim Smyth
> ref: T.S. Moore et al. Remote Sensing of Environment 113 (2009) 2424-2430
> --
> View this message in context:
> Sent from the R devel mailing list archive at
> ______________________________________________
> mailing list
> mailing list Received on Fri 15 Jul 2011 - 13:22:07 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 15 Jul 2011 - 21:30:09 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive