I have categorical data. For some variables there are two levels/categories. For other number of levels or categories are more than 2. I want to apply K-modes clustering using R. Will someone please guide how I can choose optimum number of clusters? I came across similar posts/questions but not clear .
Regards