agriculture             package:cluster             R Documentation

_E_u_r_o_p_e_a_n _U_n_i_o_n _A_g_r_i_c_u_l_t_u_r_a_l _W_o_r_k_f_o_r_c_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Gross National Product (GNP) per capita and percentage of the
     population working in agriculture for each country belonging to
     the European Union in 1993.

_U_s_a_g_e:

     data(agriculture)

_F_o_r_m_a_t:

     A data frame with 12 observations on 2 variables:

       [ , 1]  `x'  numeric  per capita GNP
       [ , 2]  `y'  numeric  percentage in agriculture

     The row names of the data frame indicate the countries.

_D_e_t_a_i_l_s:

     The data seem to show two clusters, the ``more agricultural'' one
     consisting of Greece, Portugal, Spain, and Ireland.

_S_o_u_r_c_e:

     Eurostat (European Statistical Agency, 1994): Cijfers en feiten:
     Een statistisch portret van de Europese Unie.

_R_e_f_e_r_e_n_c_e_s:

     Anja Struyf, Mia Hubert & Peter J. Rousseeuw (1996): Clustering in
     an Object-Oriented Environment. Journal of Statistical Software,
     1. <URL: http://www.stat.ucla.edu/journals/jss/>

_S_e_e _A_l_s_o:

     `agnes', `daisy', `diana'.

_E_x_a_m_p_l_e_s:

     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)


     ## Plot similar to Figure 8 in Struyf et al (1996)
     plot(diana(agriculture), ask = TRUE)

