traceplot.logilasso        package:logilasso        R Documentation

_P_l_o_t_s _t_h_e _t_r_a_j_e_c_t_o_r_i_e_s.

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

     The trace of all components of beta is plotted against all lambdas
     which were considered in the solution path. The function can be
     applied to an object of class 'logilasso'. This object can be of
     various subclasses such as 'cvlogilasso', 'predlogilasso' or
     'predlogilassospez'. Possibly the solution path only consists of
     one lambda, then the components of the corresponding beta are
     plotted.

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

     traceplot(beta, ...)

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

    beta: An object of class 'logilasso'. 

     ...: Additional arguments to the plot function.

_E_x_a_m_p_l_e_s:

     library(gRbase)
     data(reinis)

     fit <- logilasso(reinis,lambdainit=,lambdamin=0.1)
     traceplot(fit)

     fit2 <- logilasso(reinis,lambdainit=1,lambdamin=0.1,cvfold=3)
     traceplot(fit2)

     fit3 <- levelcv(reinis,lambdainit=1,lambdamin=0.1,to.which.int=3,cvfold=3)
     traceplot(fit3)

     traceplot(predict(fit3))

