typeof                 package:base                 R Documentation

_T_h_e _T_y_p_e _o_f _a_n _O_b_j_e_c_t

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

     'typeof' determines the (R internal) type or storage mode of any
     object

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

     typeof(x)

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

       x: any R object.

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

     A character string.

_S_e_e _A_l_s_o:

     'mode', 'storage.mode'.

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

     typeof(2)
     mode(2)

