ENellipse              package:EnQuireR              R Documentation

_C_o_n_f_i_d_e_n_c_e _e_l_l_i_p_s_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function allows to draw ellipses around the categories of a
     chosen variable.

_U_s_a_g_e:

     ENellipse(matP, cluster, resampling="population", iter=500, alpha = 0.05, coord = c(1, 2), eig, cex = 1, color = NULL)

_A_r_g_u_m_e_n_t_s:

    matP: factorial coordinates from MCA

 cluster: chosen categorical variable

resampling: If "population", the resampling is done within the whole
          dataset. If "cluster", it is done within the clusters

    iter: number of iterations for the Bootstrap method, by default
          iter=500

   alpha: the confidence level of the ellipses. By default alpha=0.05

   coord: selected axes

     eig: eigenvalues of the MCA

     cex: graphical option: character size

   color: graphical option: ellipses' colours

_D_e_t_a_i_l_s:

     This function can be used to draw ellipses around the centers of
     gravity of each cluster, when the chosen categorical variable is
     the variable obtained after the cluster analysis.

_A_u_t_h_o_r(_s):

     Jerome Bouche jerome.bouche@yahoo.fr 
      Marine Cadoret marine.cadoret@agrocampus-ouest.fr 
      Gwenaelle Fournier gwenaelle.fournier@gmail.com 
      Olivier Fournier olivier.fournier76@gmail.com 
      Francois Le Poder francois.lepoder@gmail.com

_E_x_a_m_p_l_e_s:

     ## Not run: 
     data(tea)
     res.enmca=ENMCA(tea[,1:18])
     x<-res.enmca$MCA$ind$coord[,1:2]
     b<-res.enmca$data[,ncol(res.enmca$data)]
     ENellipse(matP=x, cluster=b, resampling="population", iter=500, alpha = 0.05, coord = c(1, 2), eig=res.enmca$MCA$eig, cex = 1, color = NULL)
     ## End(Not run)

