asOneFormula              package: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 converted 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 Jose.Pinheiro@pharma.novartis.com and Douglas Bates
     bates@stat.wisc.edu

_S_e_e _A_l_s_o:

     'formula', 'all.vars'

_E_x_a_m_p_l_e_s:

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

