rpart-internal             package:rpart             R Documentation

_I_n_t_e_r_n_a_l _F_u_n_c_t_i_o_n_s

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

     Internal functions, only used by packages 'rpart' and 'ipred'.

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

     pred.rpart(fit, x)
     rpart.anova(y, offset, parms, wt)
     rpart.class(y, offset, parms, wt)
     rpart.exp(y, offset, parms, wt)
     rpart.matrix(frame)
     rpart.poisson(y, offset, parms, wt)

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

     fit: a tree fitted by 'rpart'.

       x: a matrix of predictors.

       y: the responses.

  offset: an offset, or 'NULL'.

   parms: a list of parameters, usually empty.

      wt: case weights.

   frame: model frame (from call to 'rpart')

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

     'rpart.anova', 'rpart.class', 'rpart.exp' and 'rpart.poisson'
     return a list with components

       y: (adjusting for 'offset' if necessary),

   parms: as input,

 numresp: the number of responses,

 summary: a function to be invoked by 'summary.rpart',

    text: a function to be invoked by 'text.rpart'.

