odd                  package:gtools                  R Documentation

_D_e_t_e_c_t _o_d_d/_e_v_e_n _i_n_t_e_g_e_r_s

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

     detect odd/even integers

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

     odd(x)
     even(x)

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

       x: vector of integers 

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

     Vector of TRUE/FALSE values.

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

     Gregory R. Warnes gregory.r.warnes@pfizer.com

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

     'round'

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

     odd(4)
     even(4)

     odd(1:10)
     even(1:10)

