

splitFormula(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 sepa-
          rator 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_:

     library(nlme)
     splitFormula(~ g1/g2/g3)

