[Rd] mclust: modelNames("E") vs modelNames=("V")

Brian G. Peterson brian at braverock.com
Sun Sep 4 00:27:13 CEST 2011


On Sat, 2011-09-03 at 08:17 -0700, Nico902 wrote:
> I'm trying to use the library mclust for gaussian mixture on a numeric
> vector. The function Mclust(data,G=3) is working fine but the fitting is not
> optimal and is using modelNames="E". When I'm trying
> Mclust(data,G=3,modelName="V") I have the following message:
> 
> Error in if (Sumry$G > 1) ans[c(orderedNames, "z")] else ans[orderedNames] : 
>   argument is of length zero
> In addition: Warning message:
> In pickBIC(object[as.character(G), modelNames, drop = FALSE], k = 3) :
>   none of the selected models could be fitted
> 
> Using variable variance would fit my data better, any idea how to do it?

This list is for issues related to the development of the R language
itself.  Wouldn't the r-help list be a more appropriate place to ask for
assistance?

Regards,

   - Brian

-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock



More information about the R-devel mailing list