[R] Error on mclust

Jerome Asselin jerome at hivnet.ubc.ca
Wed Aug 6 00:44:36 CEST 2003


I can't find the function Mclust(). Which package is it from?

Nonetheless, here are a couple of steps to help you find the problem:
1) Find a reproducable example which ALWAYS recreate your problem (i.e., 
define x so that Mclust(x) gives your error message);
2) Run "debug(Mclust); Mclust(x)" and execute your example step by step 
until you see the error. Hopefully, this will help you find the cause of 
the problem.

If you still can't resolve it, then send us your reproducable example 
(from step 1). Try to use a very small data set that illustrates the 
problem.

HTH,
Jerome

On August 5, 2003 02:16 pm, weidong zhang wrote:
> Hi All,
>
>
> I am trying to cluster a one-dimensional data (see the file attached)
> using
>
> Mclust() but got an error message like:
> >Mclust(x)
>
> Error in rep(1, n) : Object "n" not found
>
> When I do a simulation sometimes it works sometimes doesn't.
>
> >Mclust(c(rnorm(50),rnorm(56,-0.5)))
>
> Error in rep(1, n) : Object "n" not found
>
> >Mclust(c(rnorm(56),rnorm(56,-0.5)))
>
> best model: unequal variance with 2 groups
>
> averge/median classification uncertainty: 0.001 / 0
>
> Can anybody help me with this? Thanks.
>
> Weidong
>
> _________________________________________________________________
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list