screeBIC               package:mixPHM               R Documentation

_S_c_r_e_e _p_l_o_t _o_f _B_I_C'_s

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

     This function produces a scree plot on the basis of the BIC values
     in 'msBIC'.

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

     screeBIC(x, lty = 1, col = NA, pch = 19, type = "b", main = "BIC Screeplot", 
     xlab = "Number of Components", ylab = "BIC", legpos = "topright", ...)

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

       x: Object of class 'mws' from 'msBIC'

     lty: Line type

     col: Line colors; if 'NA', colors are determined automatically

     pch: Value for plotting points

    type: Type of plot

    main: Plot title

    xlab: Label for x-axis

    ylab: Label for y-axis

  legpos: position of the legend

     ...: Additional plot parameters

_S_e_e _A_l_s_o:

     'msBIC'

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

     ##Fitting all Weibull proportional hazard models for K=2,3,4 components
     data(webshop)
     res <- msBIC(webshop, K = c(2,3,4), method = "all", maxiter = 5)
     screeBIC(res)

