

asOneFormula(nlme)                           R Documentation

_C_o_m_b_i_n_e _F_o_r_m_u_l_a_s _o_f _a _S_e_t _o_f _O_b_j_e_c_t_s

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

     The names of all variables used in the formulas
     extracted from the objects defined in `...' are con-
     verted into a single linear formula, with the variables
     names separated by `+'.

_U_s_a_g_e_:

     asOneFormula(..., omit)

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

     ...: objects, or lists of objects, from which a formula
          can be extracted.

    omit: an optional character vector with the names of
          variables to be omitted from the returned formula.
          Defaults to c(".", "pi").

_V_a_l_u_e_:

     a one-sided linear formula with all variables named in
     the formulas extracted from the objects in `...',
     except the ones listed in `omit'.

_A_u_t_h_o_r_(_s_)_:

     Jose Pinheiro and Douglas Bates

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

     `formula', `all.vars'

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

     library(nlme)
     asOneFormula(y ~ x + z | g, list(~ w, ~ t * sin(2 * pi)))

