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)))

