[R] clustering
msck9@mizzou.edu
msck9 at mizzou.edu
Thu Jan 27 22:37:16 CET 2005
The cluster analysis should be able to handle that. I think if you
know how many clusters you have, "kmeans" is ok, or the EM algorithm
can also do that.
On Thu, Jan 27, 2005 at 03:44:42PM -0500, WeiWei Shi wrote:
> Hi,
> I just get a question (sorry if it is a dumb one) and I "phase" my
> question in the following R codes:
>
> group1<-rnorm(n=50, mean=0, sd=1)
> group2<-rnorm(n=20, mean=1, sd=1.5)
> group3<-c(group1,group2)
>
>
> Now, if I am given a dataset from group3, what method (discriminant
> analysis, clustering, maybe) is the best to cluster them by using R.
> The known info includes: 2 clusters, normal distribution (but the
> parameters are unknown).
>
> Thanks,
>
> Ed
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list