[R-sig-eco] combining results of two clusterings

Marcelino de la Cruz marcelino.delacruz at upm.es
Fri Feb 6 13:13:28 CET 2015


Hi Andres,

let's say  that "Z" is the vector with your first classification (i.e., 
which assigns observations to clusters Z) and "z" the vector with the 
second one.

z[Z]

would assign each observation to each z cluster


HTH,


MArcelino



El 06/02/2015 a las 12:42, Andres Mellado Diaz escribió:
>    Hi all,
>
> I'm stuck in what I guess is a trivial problem...
>
> Do you know a simple way to combine the results of two consecutive cluster
> classifications? I mean, I first classify /N/ observations into Z clusters
> (so I have a table of N observations by Z clusters); then I classify these
> Z clusters into /z/ clusters (so I got a /Z/ by /z/ table). Now I want to
> assign the /z/ values to my /N/ observations.
>
> thank you very much for your help,
>
> Andres
>
>
>



More information about the R-sig-ecology mailing list