Question: Consider the R clustering object ClustObj constructed with the hclust() function in R, such that: data%>% scale%>% dist%>% hclust(method=complete)->ClustObj Which one of the following commands
Consider the R clustering object ClustObjconstructed with the hclust() function in R, such that:
data%>% scale%>% dist%>% hclust(method="complete")->ClustObj
Which one of the following commands must be used to create a new variable indicating cluster membership at cluster solution k=3?
Select one:
a.mem<-rect.hclust(ClustObj,3)
b.mem<-kmeans(ClustObj,3)
c.mem<-cutree(ClustObj,3)
d.mem<-rect.hclust(ClustObj,5)
e.mem<-filter(ClustObj,3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
