October 2017
Beginner to intermediate
572 pages
26h 1m
English
Perform the following steps to draw a bivariate cluster plot:
> install.packages("cluster")
> library(cluster)
> clusplot(customer, fit$cluster, color=TRUE, shade=TRUE)

> par(mfrow= c(1,2))
> clusplot(customer, fit$cluster, color=TRUE, shade=TRUE)
> rect(-0.7,-1.7, 2.2,-1.2, border = "orange", lwd=2)
> clusplot(customer, fit$cluster, color = TRUE, xlim = c(-0.7,2.2), ylim = c(-1.7,-1.2))
Read now
Unlock full access