is.acomp            package:compositions            R Documentation

_C_h_e_c_k _f_o_r _c_o_m_p_o_s_i_t_i_o_n_a_l _d_a_t_a _t_y_p_e

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

     'is.'XXX returns 'TRUE' if and only if its argument is of type XXX

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

     is.acomp(x)
     is.rcomp(x)
     is.aplus(x)
     is.rplus(x)
     is.rmult(x)
               

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

       x: any object to be checked

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

     These functions only check for the class of the object.

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

     TRUE or FALSE

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

     'acomp',  'rcomp' 'aplus',  'rplus'

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

     is.acomp(1:3)
     is.acomp(acomp(1:3))
     is.rcomp(acomp(1:3))
     is.acomp(acomp(1:3)+acomp(1:3))

