?clusters tells you how to get class membership for new data
(and the appropriate way of getting cluster membership is to use
clusters(newModel) rather newModel@clusters)
hth, Ingmar

On Tue, Feb 7, 2012 at 8:48 AM, loyolite270 <loyolite...@gmail.com> wrote:

> Hi
>
> I built a flexmix GLM binomial model with 200 observations and the model
> gave me 2 clusters, so if the model is named as newModel then i get the
> cluster index for each row using newModel@clusters. Now is there any way
> to
> predict  which cluster the new observation or 201 observation belongs to
> using the above built model (newModel) ie so 201 observation can either
> belong to cluster 1 or cluster 2.
>
> Thanks
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Flexmix-new-data-classification-tp4363996p4363996.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@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.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to