O'Reilly logo

Practical Predictive Analytics by Ralph Winters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Examining some examples from cluster 1

From the bottom of the dendrogram, we can see some of the observations associated with cluster1. Extract them from the original dataframe (df):

cluster1 <- df[c(35,52,10,30),] 

Examine the output using the View command. The output shows that cluster1 may be associated with males in their 70s, who are reporting pain with a duration between 21 and 29 days:

View(cluster1) 

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required