split              package:compositions              R Documentation

_S_p_l_i_t_i_n_g _d_a_t_a_s_e_t_s _i_n _g_r_o_u_p_s _g_i_v_e_n _b_y _f_a_c_t_o_r_s

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

     Each of the given scale levels has an associated norm, which is
     computed for each element by these functions.

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

     ## S3 method for class 'acomp':
     split(x,f)
     ## S3 method for class 'rcomp':
     split(x,f)
     ## S3 method for class 'aplus':
     split(x,f)
     ## S3 method for class 'rplus':
     split(x,f)
     ## S3 method for class 'rmult':
     split(x,f)
               

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

       x: a dataset or a single vector of some type

       f: a factor that defines the grouping or a list of factors 

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

     a list of objects of the same type as x.

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

     'split'

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

       data(SimulatedAmounts)
       split(acomp(sa.groups),sa.groups.area)

