print.plus               package:plus               R Documentation

_P_r_i_n_t _p_l_u_s() _s_t_e_p_s _w_h_e_n _p_r_e_d_i_c_t_o_r_s _a_r_e _a_d_d_e_d _o_r _r_e_m_o_v_e_d.

_D_e_s_c_r_i_p_t_i_o_n:

     Print plus steps when predictors are added or removed, beginning
     with a description of the method  such as LASSO, MC+ or SCAD.

_U_s_a_g_e:

     ## S3 method for class 'plus':
     print(x, print.moves = 20, ...)

_A_r_g_u_m_e_n_t_s:

       x: a plus object

print.moves: the number of lines printed. Default is 20.

     ...: Additonal arguments for generic methods

_D_e_t_a_i_l_s:

     When a predictor is added or removed in the solution path, print
     one line providing the  step number, the action, and the predicor
     involved.

_V_a_l_u_e:

     NULL

_A_u_t_h_o_r(_s):

     Cun-Hui Zhang and Ofer Melnik

_R_e_f_e_r_e_n_c_e_s:

     Zhang, C.-H. (2007). Penalized linear unbiased selection.
     Technical Report No. 2007-003.  Department of Statistics, Rutgers
     University.

_E_x_a_m_p_l_e_s:

     data(sp500)
     attach(sp500)

     x <- sp500.percent[,3: (dim(sp500.percent)[2])] 
     y <- sp500.percent[,1]

     object <- plus(x,y,method="mc+")
     print(object, print.moves=30)
     detach(sp500)

