isempty                package:matlab                R Documentation

_M_A_T_L_A_B _i_s_e_m_p_t_y _f_u_n_c_t_i_o_n

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

     Determine if object is empty.

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

     isempty(A)

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

       A: object to evaluate

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

     An empty object has at least one dimension of size zero.

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

     Returns 'TRUE' if 'x' is an empty object; otherwise, 'FALSE'.

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

     P. Roebuck, roebuck@mdanderson.org

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

     isempty(1:3)  # FALSE
     isempty(array(NA, c(2, 0, 2)))  # TRUE

