The app uses the famous iris data, to perform in Qlik Sense a kmeans clustering of the observations (each observation is have four quantitative continue variables occurrencies, and a qualitative variable occurency, the species of the iris flowers): the result is a nice scatterplot that have on the axis a pair of the quantitative variables, as dots the observations, and as colour the cluster.
My goal is to have on the dots, the species of the iris (3 species), clearly with a reasonable number of cluster (1). As you can understand my goal is not to have an analysis with a meaning, but test the sistem to see how much is flexible.
So I simply put the species in the dimension panel in Qlik and the result is an error, something like "the client has not a valid argument".
Looking the SSEtoRServe:
I decided to transplant the problem in R.
Working on data in R without using the observation as measure (like in Qlik Sense), the result is the same, here my code:
but I've not found anything that makes the chart work. Maybe I'm wrong, could you please explain me how can I make it works?
I've added the app with the aggr() mod, hope it helps (if you do not see it, it's because it's under moderation, however in the last chart I've put the formula in the previous comment in place of the original one).