condense.onion             package:onion             R Documentation

_C_o_n_d_e_n_s_e _a_n _o_n_i_o_n_i_c _v_e_c_t_o_r _i_n_t_o _a _s_h_o_r_t _f_o_r_m

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

     Condense an onionic vector into a string vector showing whether
     the elements are positive, zero or negative.

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

     ## S3 method for class 'onion':
     condense(x)

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

       x: An onionic vector

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

     Returns a string vector of the same length as 'x' whose elements
     are length 4 or 8 strings for quaternions or octonions
     respectively.   The characters are "'+'" for a positive, "'-'" for
     a negative, and "'0'" for a zero, element.

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

     Robin K. S. Hankin

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

     condense(roct(3))

