rocc-class                package:ROC                R Documentation

_C_l_a_s_s _r_o_c_c, _R_O_C _c_u_r_v_e _r_e_p_r_e_s_e_n_t_a_t_i_o_n

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

     object representing ROC curve, typically created using rocdemo.sca

_C_r_e_a_t_i_n_g _O_b_j_e_c_t_s:

     '  new('rocc','
      '    sens        = ...., # Object of class numeric'
      '    spec        = ...., # Object of class numeric'
      '    rule        = ...., # Object of class function'
      '    cuts        = ...., # Object of class numeric'
      '    markerLabel = ...., # Object of class character'
      '    caseLabel   = ...., # Object of class character'
      '  )'

_S_l_o_t_s:

     '_s_e_n_s': Object of class "numeric" sensitivity values 

     '_s_p_e_c': Object of class "numeric" specificity values 

     '_r_u_l_e': Object of class "function" rule to classify objects 

     '_c_u_t_s': Object of class "numeric" thresholds defining curve 

     '_m_a_r_k_e_r_L_a_b_e_l': Object of class "character" name of measured marker 

     '_c_a_s_e_L_a_b_e_l': Object of class "character" name of condition 

_M_e_t_h_o_d_s:

     _p_l_o_t (rocc, missing): a plotting function with some additional
          parameters 

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

     set.seed(123)
     R1 <- rocdemo.sca( rbinom(40,1,.3), rnorm(40), dxrule.sca,
        caseLabel="new case", markerLabel="demo Marker" )
     plot( R1, show.thresh=TRUE )

