reconst                 package:ade4                 R Documentation

_R_e_c_o_n_s_t_i_t_u_t_i_o_n _o_f _D_a_t_a _f_r_o_m _a _D_u_a_l_i_t_y _D_i_a_g_r_a_m

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

     Generic Function. Nowadays just 'reconst.pca'

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

     reconst (dudi, ...)
     reconst.pca (dudi, nf = 1, ...) 

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

    dudi: an object used to select a method

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

      nf: an integer indicating the number of kept axes

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

     a data frame reconstituting the data

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

     Gabriel, K.R. (1978) Least-squares approximation of matrices by
     additive and multiplicative models. _Journal of the Royal
     Statistical Society_, B , *40*, 186-196.

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

     data(rhone)
     dd1 <- dudi.pca(rhone$tab, nf = 2, scann = FALSE)
     rh1 <- reconst(dd1, 1)
     rh2 <- reconst(dd1, 2)
     par(mfrow = c(4,4))
     par(mar = c(2.6,2.6,1.1,1.1))
     for (i in 1:15) {
         plot(rhone$date, rhone$tab[,i])
         lines(rhone$date, rh1[,i], lty = 2)
         lines(rhone$date, rh2[,i], lty = 1)
         scatterutil.sub(names(rhone$tab)[i], 2, "topright")
     }

