statis                 package:ade4                 R Documentation

_S_T_A_T_I_S, _a _m_e_t_h_o_d _f_o_r _a_n_a_l_y_s_i_n_g _K-_t_a_b_l_e_s

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

     performs a STATIS analysis of K-tables.

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

     statis(X, scannf = TRUE, nf = 3, tol = 1e-07)
     plot.statis (x, xax = 1, yax = 2, option = 1:4, ...) 
     print.statis (x, ...) 

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

       X: an object of class 'ktab'

  scannf: a logical value indicating whether the number of kept axes
          for the compromise should be asked

      nf: if 'scannf' FALSE, an integer indicating the number of kept
          axes for the compromise

     tol: a tolerance threshold to test whether the distance matrix is
          Euclidean : an eigenvalue is considered positive if it is
          larger than '-tol*lambda1' where 'lambda1' is the largest
          eigenvalue

       x: an object of class 'statis'

xax, yax: the numbers of the x-axis and the y-axis

  option: an integer between 1 and 4, otherwise the 4 components of the
          plot are dispayed

     ...: further arguments passed to or from other methods

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

     'statis' returns a list of class 'statis' containing : 

     $RV: a matrix with the all RV coefficients

  RV.eig: a numeric vector with all the eigenvalues

  RV.coo: a data frame with the array scores

tab.names: a vector of characters with the names of the arrays

$RV.tabw: a numeric vector with the array weigths

      nf: an integer indicating the number of kept axes

    rank: an integer indicating the rank of the studied matrix

    C.li: a data frame with the row coordinates

    C.Co: a data frame with the column coordinates

      T4: a data frame with the principal vectors (for each table)

      TL: a data frame with the factors (not used)

      TC: a data frame with the factors for Co

      T4: a data frame with the factors for T4

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

     Daniel Chessel chessel@biomserv.univ-lyon1.fr

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

     Lavit, C. (1988) _Analyse conjointe de tableaux quantitatifs_,
     Masson, Paris.

      Lavit, C., Escoufier, Y., Sabatier, R. and Traissac, P. (1994)
     The ACT (Statis method). _Computational Statistics and Data
     Analysis_, *18*, 97-119.

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

     data(jv73)
     kta1 <- ktab.within(within.pca(jv73$morpho, jv73$fac.riv, scann = FALSE))
     statis1 <- statis(kta1, scann = FALSE)
     plot(statis1)

     dudi1 <- dudi.pca(jv73$poi, scann = FALSE, scal = FALSE)
     wit1 <- within(dudi1, jv73$fac.riv, scann = FALSE)
     kta3 <- ktab.within(wit1)
     data(jv73)
     statis3 <- statis(kta3, scann = FALSE)
     plot(statis3)

     s.arrow(statis3$C.li, cgrid = 0)

     kplot(statis3, traj = TRUE, arrow = FALSE, unique = TRUE, 
         clab = 0, csub = 3, cpoi = 3)
     statis3

