graphinter            package:SensoMineR            R Documentation

_G_r_a_p_h_i_c_a_l _d_i_s_p_l_a_y _o_f _t_h_e _i_n_t_e_r_a_c_t_i_o_n _b_e_t_w_e_e_n _t_w_o _q_u_a_l_i_t_a_t_i_v_e _v_a_r_i_a_b_l_e_s

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

     This function is designed to display the interaction between two
     qualitative variables, in most cases the _product_ and the
     _session_ variables.

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

     graphinter(donnee, col.p, col.j, firstvar, lastvar=ncol(donnee), 
         numr = 2,numc = 2)

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

  donnee: a data frame made up of at least two qualitative variables 
          (_product_, _panelist_) and a set of quantitative variables
          (sensory descriptors)

   col.p: the position of one categorical variables of interest (the
          _product_ variable)

   col.j: the position of one categorical variables of interest (the
          _session_ variable)

firstvar: the position of the first endogenous variable

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

    numr: the number of graphs per row (by default 2)

    numc: the number of graphs per column (by default 2)

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

     The data set must be balanced (or not unbalanced too much).

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

     If the variables of interest are the _product_ and the _session_
     variables,  a list containing the following components: 

    prod: a data frame of dimension (_p,q_), the means over the
          panelists and the sessions for the _p_ products and the _q_
          sensory descriptors

  seance: as many matrices of dimension (_p,q_) as there are sessions, 
          the means over the panelists for the _p_ products, the _q_
          sensory descriptors and for each session

     The graphical display of the interaction for each sensory
     descriptor.

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

     Franois Husson, Sbastien L

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

     P. Lea, T. Naes, M. Rodbotten. _Analysis of variance for sensory
     data_. 
      H. Sahai, M. I. Ageel. _The analysis of variance_.

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

     'aov'

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

     ## Not run: 
     data(chocolates)
     graphinter(sensochoc, col.p = 4, col.j = 2, firstvar = 5, lastvar = 12,
         numr = 1, numc = 1)
     ## End(Not run)

