R-Programming The USArrests dataset contains statistics of arrests per 100,000 residents for assault, murder, and rape in each of the 50 US states in 1973. It also includes the percentage of the population living in urban areas. First, load the dataset, remove any missing values, and scale the dataset.
df <- USArrests
df <- na.omit(df)
df <- scale(df)
(4) Are the results of hierarchical and k-means clustering for 2 groups, (and then 3 groups) comparable ? Why or why not ?