data(agriculture)
## Compute the dissimilarities using Euclidean metric and without
## standardization
daisy(agriculture, metric = "euclidean", stand = FALSE)
## Plot similar to Figure 3 in Struyf et al (1996)
plot(pam(agriculture, 2))
## Plot similar to Figure 7 in Struyf et al (1996)
plot(agnes(agriculture), ask = TRUE)
<testonly>plot(agnes(agriculture))</testonly>
## Plot similar to Figure 8 in Struyf et al (1996)
plot(diana(agriculture), ask = TRUE)
<testonly>plot(diana(agriculture))</testonly>
Run the code above in your browser using DataLab