BuildAgeTable            package:treeglia            R Documentation

_B_u_i_l_d_s _a _d_a_t_a._f_r_a_m_e _h_o_l_d_i_n_g _a_n _a_g_e _t_a_b_l_e

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

     Builds a 'data.frame' holding generic data for each cross-section.
     There will be as many rows as the number of cross-sections. The
     'data.frame' can be saved in a csv file through 'ExportFile'.

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

     BuildAgeTable(RWdata, Tree.object)

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

  RWdata: a 'data.frame' holding the set of ring-widths. It can be
          imported from a csv text file through 'ImportRW'. In case of
          broadleaf trees, the age table must be computed on the
          ring-width set of the main stem.

Tree.object: a 'data.frame' holding tree data. This object is easily
          created through 'BuildTreeObject'.

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

     Returns a 'data.frame' holding cross-sections heights as rownames.
      For each cross-section, the first column holds the number of
     rings counted, the second column holds the its radius (as the sum
     of the full set of ring-widths), the third column holds its age
     (the tree age minus number of rings) when its tip got to the
     cross-section level.  Tree age is computed as the number of rings
     on the lowest cross-section.

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

     Marco Bascietto

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

     'ImportRW''BuildTreeObject''ExportFile'

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

     # Recall and attach RW data
     data(Lei301)
     attach(Lei301)

     AgeTable1 <- BuildAgeTable(RW.1A, Tree.features.1)

     detach(Lei301)

