[R] Subsets in mclust

Christian Hennig hennig at stat.math.ethz.ch
Thu Feb 14 12:23:49 CET 2002


Dear group,

I want to use the mclust package on large data, and therefore I want to use
a subset in the initial clustering phase. From help(mclust):

       k: If `k' is specified, the hierarchical clustering phase will
          use a sample of size `k' of the data in the initial
          hierarchical clustering phase. The default is to use the
          entire data set. 

m2 is a matrix (not very large, but the same happens always when specifying
k):

> dim(m2)
[1] 242   2
> em321 <- emclust(m2,k=50)
Error in mhtree.VVV(data[smpl, ]) : data must be a matrix with  at least 2 columns
> em321 <- emclust(m2)
(No problems)
> em321 <- emclust(m2,modelid="VEV",k=50)
Error in mhtree.VVV(data[smpl, ]) : data must be a matrix with  at least 2 columns
> library(help=mclust)
mclust          Model-based cluster analysis

Description:

Package: 	mclust
Version: 	1.1-5
(...)
Built: R 1.3.1; i686-pc-linux-gnu; Thu Dec 13 04:02:36 CET 2001

What is going on here?
(Mail is sent to the maintainer, too.)

Best,
Christian
I

-- 
***********************************************************************
Christian Hennig
Seminar fuer Statistik, ETH-Zentrum (LEO), CH-8092 Zuerich (current)
and Fachbereich Mathematik-SPST/ZMS, Universitaet Hamburg
hennig at stat.math.ethz.ch, http://stat.ethz.ch/~hennig/
hennig at math.uni-hamburg.de, http://www.math.uni-hamburg.de/home/hennig/
#######################################################################
ich empfehle www.boag.de


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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