June 2017
Beginner to intermediate
576 pages
15h 22m
English
To get a larger and more detailed plot, you can also use the pairs function to produce a scatter matrix on your desired variables using color to outline the various clusters.
We can see that the clusters are separated from the rest in some cases, while in other cases there can be minor or major overlap:
pairs(tmp[c("age","mass","pressure","pregnant")], col=tmp$prediction)

To start analyzing the components of the clusters, you can look at how the variables are plotted along each of the axes.
For example, the red cluster shows a relationship between older patients and number of months pregnant. This would seem ...