I know there is same question in cross validated. But it is somewhat different.
Clustering of mixed type data with R
At there Q&A, as using daisy funtion(), we can use categorical data type in clustering.
But, I'm wondering that as sequence the nominal variable (for example, 1 is small apartment, 2 is middle-size apartment, 3 is building and the higher number, the better), can I use kmeans clustering with this nominal variable?
Of course, in this case, this nominal variable is converted as int type(=continuous type).
Please let me know, why it can't or can. I want to know theory explanation.