isNumeric package:limma R Documentation _T_e_s_t _f_o_r _N_u_m_e_r_i_c _A_r_g_u_m_e_n_t _D_e_s_c_r_i_p_t_i_o_n: Test whether argument is numeric or a data.frame with numeric columns. _U_s_a_g_e: isNumeric(x) _A_r_g_u_m_e_n_t_s: x: any object _D_e_t_a_i_l_s: This function is used to check the validity of arguments for numeric functions. It is an attempt to emulate the behavior of internal generic math functions. 'isNumeric' differs from 'is.numeric' in that data.frames with all columns numeric are accepted as numeric. _V_a_l_u_e: 'TRUE' or 'FALSE' _A_u_t_h_o_r(_s): Gordon Smyth _S_e_e _A_l_s_o: 'is.numeric', 'Math' _E_x_a_m_p_l_e_s: isNumeric(3) isNumeric("a") x <- data.frame(a=c(1,1),b=c(0,1)) isNumeric(x) # TRUE is.numeric(x) # FALSE