drawTreeNodes             package:rattle             R Documentation

_D_r_a_w _n_o_d_e_s _o_f _a _d_e_c_i_s_i_o_n _t_r_e_e

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

     Draw the nodes of a decision tree

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

     drawTreeNodes(tree, cex = par("cex"), pch = par("pch"),
                                size = 2.5 * cex, col = NULL, nodeinfo = FALSE,
                                units = "", cases = "cases", 
                                digits = getOption("digits"),
                                decimals = 2,
                                print.levels = TRUE, new = TRUE) 

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

    tree: an rpart decision tree.

     cex: .

     pch: .

    size: .

     col: .

nodeinfo: .

   units: .

   cases: .

  digits: .

decimals: the number of decimal digits to include in numeric split
          nodes.

print.levels: .

     new: .

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

     A variation of draw.tree from the maptree package.

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

     Graham.Williams@togaware.com

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

     Package home page: <URL: http://rattle.togaware.com>

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

     ## this is usually used in the context of the plotRisk function
     ## Not run: drawTreeNodes(ds.rp)

