splitFormula              package:nlme              R Documentation

_S_p_l_i_t _a _F_o_r_m_u_l_a

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

     Splits the right hand side of `form' into a list of subformulas
     according to the presence of `sep'. The left hand side of `form',
     if present, will be ignored. The length of the returned list will
     be equal to the number of occurrences of `sep' in `form' plus one.

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

     splitFormula(frm, nm)

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

    form: a `formula' object.

     sep: an optional character string specifying the separator to be
          used for splitting the formula. Defaults to `"/"'. 

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

     a list of formulas, corresponding to the split of `form' according
     to `sep'.

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

     Jose Pinheiro and Douglas Bates

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

     `formula'

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

     splitFormula(~ g1/g2/g3)

