anyMissing              package:Biobase              R Documentation

_C_h_e_c_k_s _i_f _t_h_e_r_e _a_r_e _a_n_y _m_i_s_s_i_n_g _v_a_l_u_e_s _i_n _a_n _o_b_j_e_c_t _o_r _n_o_t

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

     Checks if there are any missing values in an object or not.

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

     anyMissing(x=NULL)

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

       x: A 'vector'.

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

     The implementation of this method is optimized for both speed and
     memory.

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

     Returns 'TRUE' if a missing value was detected, otherwise 'FALSE'.

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

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

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

     x <- rnorm(n=1000)
     x[seq(300,length(x),by=100)] <- NA
     stopifnot(anyMissing(x) == any(is.na(x)))

