# Clustering of mixed type data with R

I wonder whether it is possible to perform within R a clustering of data having mixed data variables. In other words I have a data set containing both numerical and categorical variables within and I’m finding the best way to cluster them. In SPSS I would use two – step cluster. I wonder whether in R can I find a similar techniques. I was told about poLCA package, but I’m not sure …

It uses the non-hierarchical k-modes algorithm, which is based on simple matching as a distance function, so the distance δ between a variable m of two data points $x$ and $y$ is given by