[R] cluster: "graph with circles"

Martin Maechler maechler at stat.math.ethz.ch
Fri Nov 2 09:35:16 CET 2001


>>>>> "Ronaldo" == Ronaldo Reis <chrysopa at terra.com.br> writes:

    Ronaldo> Hi,
    Ronaldo> I have the graph below:

    Ronaldo> |                  422
    Ronaldo> |          1       321
    Ronaldo> |   1
    Ronaldo> |          1
    Ronaldo> |32   1
    Ronaldo> |23
    Ronaldo> |_______________________

    Ronaldo> The numbers are points in coordinates (simplified graph).  I
    Ronaldo> need make a cluster analysis of this for identify groups and
    Ronaldo> make a graph with this groups under circle.  In R exist
    Ronaldo> several packages for cluster analysis, but, which the package
    Ronaldo> for this analysis and graphs?

As you note, there are many clustering algorithms available in R
package(mva)     has hclust, kmeans,..
package(cluster) has agnes,diana,clara,...

  [these two above should be available everywhere: 
	 mva is `standard';  cluster is `recommended]

  package(cclust)
  package(e1071)
  package(mclust)

and even more.

I don't understand  ``make a graph with these(!) groups under circle''.

Maybe you mean Kaufman&Rousseeuw's  ``clusplot'' (which use ellipses).

Try
	library(cluster)
	example(clusplot)

  {where when interactive, you must use your mouse to identify interesting
   points in the first plot}

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list