writeperloption           package:pinktoe           R Documentation

_G_e_n_e_r_a_t_e _p_a_r_t _o_f _t_h_e _p_e_r_l _f_i_l_e.

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

     If 'childvar' is a leaf then call 'stateprintfn' to issue perl
     code to call appropriate leaf functionality, alternatively issue
     perl code to call next HTML file in the tree.

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

     writeperloption(childvar, childrow, childnodeid, treeobj, perlname, append = TRUE, htmldir, stateprintfn)

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

childvar: Variable name of next item in tree, either "<leaf>" or actual
          variable name

childrow: The row number into frame for next item.

childnodeid: The node number (row name of row number in frame
          component)

 treeobj: The 'rpart' or 'tree' object that all this is about

perlname: The name of the perl file that all this is being written to

  append: Should be TRUE

 htmldir: The directory that the HTML files are getting written to (the
          perl file needs to know this to set up a call to HTML files

stateprintfn: A user-supplied function that decides what to do when
          supplied with the 'yval' reached at the leaf of a tree. Some
          text can be output, or maybe a perl function call.  

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

     As description.

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

     No value returned.

_N_o_t_e:

     Not intended for general user use

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

     Guy P Nason

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

     <URL:
     http://www.stats.bris.ac.uk/~magpn/Research/Pinktoe/Welcome.html>

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

     'pinktoe'

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

     #
     #Not intended for general user use
     #

