prefpls              package:SensoMineR              R Documentation

_S_c_a_t_t_e_r _p_l_o_t _a_n_d _a_d_d_i_t_i_o_n_a_l _v_a_r_i_a_b_l_e_s _w_i_t_h _q_u_a_l_i_t_y _o_f _r_e_p_r_e_s_e_n_t_a_t_i_o_n _c_o_n_t_o_u_r _l_i_n_e_s

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

     This function is useful to interpret the usual graphs $(x,y)$ with
     additional quantitative variables.

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

     prefpls(donnee, var1 = 1, var2 = 2, firstvar = 3, 
         lastvar = ncol(donnee), levels = c(0.2,0.4,0.6,0.7,0.8,0.9,1), 
         asp = 1, nbchar = max(nchar(colnames(donnee))))

_A_r_g_u_m_e_n_t_s:

  donnee: a data frame made up of quantitative variables

    var1: the position of the variable corresponding to the x-axis

    var2: the position of the variable corresponding to the y-axis

firstvar: the position of the first endogenous variable

 lastvar: the position of the last endogenous variable (by default the
          last column of 'donnee')

  levels: a list of the levels displayed in the graph of variables

     asp: aspect ratio for the graph of the individuals

  nbchar: the number of characters used for the labels of the variables

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

     This function is very useful when there is a strong correlation
     between two variables _x_ and _y_

_V_a_l_u_e:

     A scatter plot of the invividuals
      A graph with additional variables and the quality of
     representation contour lines.

_A_u_t_h_o_r(_s):

     Franois Husson

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

     Husson, F. & Pags, J. (2005). Scatter plot and additional
     variables. _Journal of applied statistics_

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

     data(chocolates)
     resaverage <- averagetable(sensochoc, formul = "~Product", firstvar = 5)
     prefpls(resaverage)

