ba                   package:CTFS                   R Documentation

_B_a_s_a_l _A_r_e_a _o_f _T_r_e_e_s

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

     Two functions that provide calculations of basal area in m\^2 from
     a dbh vector.  'ba' computes the basal area and returns a vector
     of the same length as the input vector.  'basum' computes the sum
     of the basal areas for all values in a vector and returns a single
     value.

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

     ba(dbh)
     basum(dbh,mindbh=10)

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

     dbh: DBH in mm of tree

  mindbh: minimum dbh for selection of value to be included in
          computation

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

     The input is either a single number or a vector of numbers.  Valid
      values are DBH in mm that are greater than or equal to the
     minimum dbh. If basal area cannot be computed, the value of 0 is
     returned.

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

     'ba' returns a vector of the same length as the input DBH vector,
     basal area in m\^2 'basum' returns a single value (numeric), sum
     of the basal area  in m\^2

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

     Rick Condit and Pamela Hall

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

     'CTFS.basalarea'

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

     ## Not run: 
     ba.out <- ba(tst.bci90.full$dbh)
     basum.out <- basum(tst.bci90.full$dbh)

     ba100.out <- ba(tst.bci90.full[tst.bci90.full$dbh >= 100,]$dbh)
     basum.out <- basum(tst.bci90.full$dbh, mindbh=100)
     ## End(Not run)

