logit                  package:secr                  R Documentation

_L_o_g_i_t _T_r_a_n_s_f_o_r_m_a_t_i_o_n

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

     Transform real values to the logit scale.

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

     logit(x)
     invlogit(y)

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

       x: vector of numeric values in (0,1) (possibly a probability) 

       y: vector of numeric values 

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

     The logit transformation is defined as logit(x) = log(x/(1-x)) for
     x in (0,1).

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

     Numeric value on requested scale.

_N_o_t_e:

     'logit' is equivalent to 'qlogis', and 'invlogit' is equivalent to
     'plogis' (both R functions in the 'stats' package). 'logit' and
     'invlogit' are used in 'secr' because they are slightly more
     robust to bad input, and their names are more memorable!

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

     Murray Efford murray.efford@otago.ac.nz

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

     logit(0.5)
     invlogit(logit(0.2))

