summary.rpart package:rpart R Documentation _S_u_m_m_a_r_i_z_e _a _F_i_t_t_e_d _R_p_a_r_t _O_b_j_e_c_t _D_e_s_c_r_i_p_t_i_o_n: Returns a detailed listing of a fitted 'rpart' object. _U_s_a_g_e: ## S3 method for class 'rpart': summary(object, cp=0, digits=getOption("digits"), file, ...) _A_r_g_u_m_e_n_t_s: object: fitted model object of class 'rpart'. This is assumed to be the result of some function that produces an object with the same named components as that returned by the 'rpart' function. digits: Number of significant digits to be used in the result. cp: trim nodes with a complexity of less than 'cp' from the listing. file: write the output to a given file name. (Full listings of a tree are often quite long). ...: arguments to be passed to or from other methods. _D_e_t_a_i_l_s: This function is a method for the generic function summary for class '"rpart"'. It can be invoked by calling 'summary' for an object of the appropriate class, or directly by calling 'summary.rpart' regardless of the class of the object. _S_e_e _A_l_s_o: 'summary', 'rpart.object', 'printcp'. _E_x_a_m_p_l_e_s: z.auto <- rpart(Mileage ~ Weight, car.test.frame) summary(z.auto)