CTFS.internal              package:CTFS              R Documentation

_i_n_t_e_r_n_a_l _C_T_F_S _f_u_n_c_t_i_o_n_s

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

     Internal CTFS functions that are called from within other
     functions.

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

     borderdist(coord,plotdim)
     fill.dimension(dataarray,class1,class2,fill=0)
     fill.1dimension(dataarray,class1,fill=0)
     fill.distclasses(dataarray,distclasses)
     unidentified.species(spnames,unidenstr=c("**","UNID","unid","UNIDEN","uniden"))
     unwind.matrix(matrix.in)
     rndown5(s)
     xydist(x1,y1,x2,y2)
     xydistvect(pt1,pt2)
     setsize(n, s) 
     quadslope(cornerelev,gridsize=20)
     calcslope(z, gridsize=20)

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

     These are not usually called by the user and are not documented
     individually.


'_b_o_r_d_e_r_d_i_s_t' computes the distance to the nearest plot border for a
     given pair of coordinates

'_f_i_l_l._d_i_m_e_n_s_i_o_n' check values and/or fills a 2 dimensional array after
     the use of 'tapply'which eliminates dimension values if there is
     no content for them

'_f_i_l_l._1_d_i_m_e_n_s_i_o_n' check values and/or fills a 1 dimensional array after
     the use 'tapply' which eliminates dimension values if there is no
     content for them

'_f_i_l_l._d_i_s_t_c_l_a_s_e_s' check values and/or fills a 1 dimensional array after
     the use 'tapply' which eliminates dimension values if there is no
     content for them.  This is specific for neighborhood 
     calculations.

'_u_n_i_d_e_n_t_i_f_i_e_d._s_p_e_c_i_e_s' creates a vector that indicates whether a tree
     belongs to an unidentifed species.  'unidenstr' contains the
     possible codes for unidentified species at the sites.

'_u_n_w_i_n_d._m_a_t_r_i_x' returns a vector that is the contents of a matrix
     "unwound" column by column

'_r_n_d_o_w_n_5' rounds by taking the floor of dbh / 5

'_x_y_d_i_s_t' distance between x,y coordinates

'_x_y_d_i_s_t_v_e_c_t' distance between vector of x,y coordinates, x as first
     element, y as second.  Used with 'apply'

'_s_e_t_s_i_z_e' sets point sizes for plotting location of trees in 'map'

'_q_u_a_d_s_l_o_p_e' calculates the slope of a quadrate and called from 
     'meantopo.quad'

'_c_a_l_c_s_l_o_p_e' calculates the slope of a quadrate and called from 
     'quadslope'

_N_o_t_e:

     For developers:  The CTFS internal utility functions are found in
     a file approximately named: 'utilties.versionnumber.R'. Some may
     be located in other files  because they are used with those
     functions only.

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

     Rick Condit, Suzanne Lao, Pamela Hall

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

     'CTFS.quadfunctions','CTFS.utilities', 'CTFS.readwrite',
     'CTFS.groupcats'

