is.odd                  package:sma                  R Documentation

_D_e_t_e_r_m_i_n_i_n_g _i_f _a _V_a_l_u_e _i_s _O_d_d _o_r _E_v_e_n

_D_e_s_c_r_i_p_t_i_o_n:

     A logical flag which determines if a value supplied by the user is
     odd or even.

_U_s_a_g_e:

     is.odd(x)
     is.even(x)

_A_r_g_u_m_e_n_t_s:

       x: integer value

_V_a_l_u_e:

     Logical vectors 'TRUE' or 'FALSE' are returned depending on
     whether the value is odd or even.

_A_u_t_h_o_r(_s):

     Jessica Mar

_E_x_a_m_p_l_e_s:

     is.odd(4)
     ## FALSE
     is.even(100)
     ## TRUE

