sensitivity         package:PresenceAbsence         R Documentation

_S_e_n_s_i_t_i_v_i_t_y

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

     'sensitivity' calculates the sensitivity and (optionally) the
     associated standard deviation from a confusion matrix.

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

     sensitivity(CMX, st.dev = TRUE)

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

     CMX: a confusion matrix - output from 'cmx' 

  st.dev: a logical indicating whether the associated standard
          deviation should be calculated 

_D_e_t_a_i_l_s:

     Sensitivity is the proportion of observed positives correctly
     predicted, and reflects a model's ability to predict a presence
     given that a species actually occurs at a location.

_V_a_l_u_e:

     if 'st.dev' = FALSE, returns: 'sensitivity'. 

     if 'st.dev' = TRUE, returns a dataframe where:

       [1,1]  'sensitivity'     
       [1,2]  'sensitivity.sd'  standard deviation of 'sensitivity'

_N_o_t_e:

_A_u_t_h_o_r(_s):

     Elizabeth Freeman eafreeman@fs.fed.us

_R_e_f_e_r_e_n_c_e_s:

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

     'cmx', 'pcc', 'specificity', 'Kappa', 'auc'

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

     data(SIM3DATA)

     sensitivity(cmx(SIM3DATA))

     sensitivity(cmx(SIM3DATA),st.dev=FALSE)

