checkData         package:pcaMethods         R Documentation(latin1)

_D_o _s_o_m_e _b_a_s_i_c _c_h_e_c_k_s _o_n _a _g_i_v_e_n _d_a_t_a _m_a_t_r_i_x

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

     Check a given data matrix for consistency with the format required
     for further analysis. The data must be a numeric matrix and not
     contain:

        *  Inf values

        *  NaN values

        *  Rows or columns that consist of NA only

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

     checkData(data, verbose = FALSE)

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

    data: 'matrix' - Data to check.

 verbose: 'boolean' - If TRUE, the function prints  messages whenever
          an error in the data set is found.

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

 isValid: 'boolean' - TRUE if no errors were found, FALSE otherwise.
          isValid contains a set of attributes, these are:

             *  isNumeric - TRUE if data is numeric, false otherwise

             *  isInfinite - TRUE if data contains 'Inf' values, false
                otherwise

             *  isNaN - TRUE if data contains 'NaN' values, false
                otherwise

             *  isMatrix - TRUE if the data is in matrix format, FALSE
                otherwise

             *  naRows - TRUE if data contains rows in which all
                elements are 'NA',  FALSE otherwise

             *  naCols - TRUE if data contains columns in which all
                elements are 'NA',  FALSE otherwise

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

     Wolfram Stacklies 
       Max Planck Institut fuer Molekulare Pflanzenphysiologie,
     Potsdam, Germany 
      wolfram.stacklies@gmail.com 

