[R] Error on mclust

weidong zhang mzhang1208 at hotmail.com
Tue Aug 5 23:16:56 CEST 2003


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

_________________________________________________________________




More information about the R-help mailing list