listRPartRules            package:rattle            R Documentation

_L_i_s_t _t_h_e _r_u_l_e_s _c_o_r_r_e_s_p_o_n_d_i_n_g _t_o _t_h_e _r_p_a_r_t _d_e_c_i_s_i_o_n _t_r_e_e

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

     Display a list of rules for an rpart decision tree.

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

     listRPartRules(model, compact=FALSE)

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

   model: an rpart model.

 compact: whether to list cateogricals compactly.

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

     Traverse a decision tree to generate the equivalent set of rules,
     one rule for each path from the root node to a leaf node.

_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:

     ## Not run: listRPartRules(ds.rpart)

