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 )