Please provide a minimal sufficient coding example and try to formulate your
question a bit more specific. With the dataset you gave, the answer is
A-1
B-0
C-0

If you want to do cluster analysis, check the functions in the package
cluster. for finding the optimal number of clusters in a dataset, all tools
are available there. Also take a look at the functions hclust and kmeans and
the related plots.

On Thu, May 6, 2010 at 7:39 PM, sumit gupta <sumit.i...@gmail.com> wrote:

> Hi,
>
> Can anyone tell me how to find number of cluster for a data set.
>
> I have a data set in following format
>
>
> Group       var1      var2     var3
> A               1             2         3
> A               1             2         3
> A               1             2         3
> B.......
> B.......
> C
> C....
> C
> C.....
>
>
> I want to know for each group what is the optimum number of cluster.
> like A- 2
>      B-3
>      C-5
>
> please could anyone help.its very urgent.
>
> Thanks
>
> Sumit
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Joris Meys
Statistical Consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

Coupure Links 653
B-9000 Gent

tel : +32 9 264 59 87
joris.m...@ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to