Struggling a bit here, hope I chose the right forum place.

I am trying to cluster cells (1x1km) over a specific area. Each cell is composed of various habitats defined by a code. (Each habitat consists of 3 parameters, so a habitat code looks like e.g. 1-3-15. There are around 100 different habitats, i.e. max number of combinations of these 3 parameters).

I now try to define clusters according to:

- Number of habitats per cell

- 1st largest habitat covering the cell

- 2nd largest habitat covering the cell and

- Rarest habitat in the cell (I developed a global rarity index for each habitat, and one habitat having the lowest index is chosen per cell).

So the last 3 in the list refer to a specific habitat per cell and the first is more a quantitative measure of how many are in each cell.

Based on this they'd like to perform a cluster analysis, but I am wondering whether there is a mix up btw categotrial and quantitative data.

Could anyone please give some advise on what to method to use, e.g. in R?

Thanks,

Ralph