Read standard data files    package:compositions    R Documentation

_R_e_a_d_s _a _d_a_t_a _f_i_l_e _i_n _a _g_e_o_e_a_s _f_o_r_m_a_t

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

     Reads a data file, which must be formatted either as a geoEAS file
     (described below).

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

     read.geoeas(file)
     read.geoEAS(file)
               

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

    file: a file name, with a specific format

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

     The data files must be in the adequate format: "read.geoEAS" and
     "read.geoeas" read geoEAS format.

     The geoEAS format has the following structure: \begin{itemize}

     *  a first row with a description of the data set

     *  the number of variables (=nvars)

     *  "nvars"  rows, each containing the name of a variable

     *  the data set, in a matrix of "nvars" columns and as many rows
        as individuals \end{itemize}

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

     A data set, with a "title" attribute.

_N_o_t_e:

     Labels and title should not contain tabs. This might produce an
     error when reading.

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

     Raimon Tolosana-Delgado

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

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

     'read.table'

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

     #
     # Files can be found in the test-subdirectory of the package
     #
     ## Not run: 
       read.geoeas("TRUE.DAT")
       read.geoEAS("TRUE.DAT")
     ## End(Not run)

