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'.

