Hi ,Ping .
There ARE two components using the iris[,-5] data.
The Mclust method is using the BIC value to obtain the optimal number of
components of the model, and the result is two.
Try to use Mc$parameters to see the parameters for each component.
I suggest u to read the help document seriously.
best regards.
On 2008-6-30, at ??8:40, ??? wrote:
> hello everyone
> I have used the function Mclust, and i found the result(the
> component $z) is
> just two class, why?
>
> Mc <- Mclust(iris[,-5])
> Mc$z
> ....
> ....
>
> thanks
>
> wangchunping
>
> ______________________________________________
> R-help at 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.
-----------------------------------------------
Peng Jiang ?? ,Ph.D. Candidate
Antai College of Economics & Management
????????
Department of Mathematics
???
Shanghai Jiaotong University (Minhang Campus)
800 Dongchuan Road
200240 Shanghai
P. R. China