ImportRW              package:treeglia              R Documentation

_I_m_p_o_r_t _a _r_i_n_g-_w_i_d_t_h _f_i_l_e

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

     Loads a csv text file containing the ring widths measured on tree
     cross-sections.

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

     ImportRW(filename)

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

filename: a string giving the name of the file to load

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

     Ring-widths and their calendar years, as well the heights of the
     cross-sections they were measured from must be stored in a csv
     file. Ring-widths will be ordered in columns, from the lowest
     cross-section, to the highest (nearest to tree tip) cross-section.
      The first row will hold cross-sections heights (in m).  The first
     column will hold the calendar years whose ring refer. Csv files
     can be created through any spreadsheet program. As an example of
     what a future ring-width csv file might look in a spreadsheet
     consider the following:

             0.0   1.30  3.00  5.00
       1990  1234                
       1991  1234                
       1992  1234  4232          
       1993  1234  4232  353     
       1994  1234  4232  353     
       1995  1234  4232  353     
       1996  1234  4232  353   3567
       1997  1234  4232  353   3567
       1998  1234  4232  353   3567

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

     Returns a data.frame object holding the ring-widths. Calendar
     years are coded as row names, and can be accessed via
     'rownames()'.  Cross-section heights along the stem are coded
     column names, they can be accessed via 'colnames()' and converted
     to numeric values via 'as.numeric()'.

_N_o_t_e:

     Decimals should be dot-separated.

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

     Marco Bascietto

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

     'ExportFile'

